home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / QuickDraw™ GX MPW 411 Files / QuickDraw™ GX Help < prev   
Encoding:
Text File  |  1995-04-24  |  528.5 KB  |  22,015 lines  |  [TEXT/MPS ]

  1. /* ––––––––––––––––––––––––––––––––––––––––––––– 
  2.     QuickDraw™ GX 411 Help.
  3.     
  4.     Created:  7/16/94 - Dave Hersey
  5.     
  6.     ©1994 Apple Computer, all rights reserved.
  7. –––––––––––––––––––––––––––––––––––––––––––––––– */
  8.  
  9. æKY point3D
  10. æFc Camera Library.h
  11. æT structure
  12. æD
  13. struct point3D {
  14.     Fixed    x;
  15.     Fixed    y;
  16.     Fixed    z;
  17. };
  18.  
  19. æKY unit3D
  20. æFc Camera Library.h
  21. æT structure
  22. æD
  23. struct unit3D {
  24.     fract    x;
  25.     fract    y;
  26.     fract    z;
  27. };
  28.  
  29. æKY camera
  30. æFc Camera Library.h
  31. æT structure
  32. æD
  33. struct camera {
  34.     struct point3D        location;
  35.     struct point3D        axis;
  36.     struct point3D        zenith;
  37.     struct point3D        observer;
  38.     gxMapping            orientation;
  39. };
  40.  
  41. æKY patch
  42. æFc Camera Library.h
  43. æT structure
  44. æD
  45. struct patch {
  46.     struct point3D        u;
  47.     struct point3D        v;
  48.     struct point3D        origin;
  49. };
  50.  
  51. æKY InitCamera
  52. æFc Camera Library.h
  53. æT function
  54. æD
  55. void InitCamera(camera *);
  56.  
  57. æKY UpdateCamera
  58. æFc Camera Library.h
  59. æT function
  60. æD
  61. void UpdateCamera(camera *);
  62.  
  63. æKY PatchToCameraMap
  64. æFc Camera Library.h
  65. æT function
  66. æD
  67. void PatchToCameraMap(patch *, camera *, gxMapping *);
  68.  
  69. æKY Unitize
  70. æFc Camera Library.h
  71. æT function
  72. æD
  73. Fixed Unitize(point3D *, unit3D *);
  74.  
  75. æKY FracDot
  76. æFc Camera Library.h
  77. æT function
  78. æD
  79. fract FracDot(unit3D *, unit3D *);
  80.  
  81. æKY FracCross
  82. æFc Camera Library.h
  83. æT function
  84. æD
  85. void FracCross(unit3D *, unit3D *, unit3D *cross);
  86.  
  87. æKY gestaltCollectionMgrVersion
  88. æFc Collections.h
  89. æT constant
  90. æD
  91. enum {
  92.         gestaltCollectionMgrVersion = 'cltn'
  93. };
  94.  
  95. æKY collectionItemLockedErr
  96.     collectionItemNotFoundErr
  97.     collectionIndexRangeErr
  98.     collectionVersionErr
  99. æFc Collections.h
  100. æT constant
  101. æD
  102. enum {
  103.     collectionItemLockedErr        = -5750,
  104.     collectionItemNotFoundErr    = -5751,
  105.     collectionIndexRangeErr        = -5752,
  106.     collectionVersionErr        = -5753
  107. };
  108.  
  109. æKY dontWantTag
  110.     dontWantId
  111.     dontWantSize
  112.     dontWantAttributes
  113.     dontWantIndex
  114.     dontWantData
  115. æFc Collections.h
  116. æT constant
  117. æD
  118. enum {
  119.     dontWantTag                = 0L,
  120.     dontWantId                = 0L,
  121.     dontWantSize            = 0L,
  122.     dontWantAttributes        = 0L,
  123.     dontWantIndex            = 0L,
  124.     dontWantData            = 0L
  125. };
  126.  
  127. æKY noCollectionAttributes
  128.     allCollectionAttributes
  129.     userCollectionAttributes
  130.     defaultCollectionAttributes
  131. æFc Collections.h
  132. æT constant
  133. æD
  134. enum {
  135.     noCollectionAttributes        = 0x00000000,    /* no attributes bits set */
  136.     allCollectionAttributes        = 0xFFFFFFFF,    /* all attributes bits set */
  137.     userCollectionAttributes    = 0x0000FFFF,    /* user attributes bits */
  138.     defaultCollectionAttributes    = 0x40000000    /* default attributes - */
  139.                                                 /* unlocked, persistent */
  140. };
  141.  
  142. æKY collectionUser0Bit
  143.     collectionUser1Bit
  144.     collectionUser2Bit
  145.     collectionUser3Bit
  146.     collectionUser4Bit
  147.     collectionUser5Bit
  148.     collectionUser6Bit
  149.     collectionUser7Bit
  150.     collectionUser8Bit
  151.     collectionUser9Bit
  152.     collectionUser10Bit
  153.     collectionUser11Bit
  154.     collectionUser12Bit
  155.     collectionUser13Bit
  156.     collectionUser14Bit
  157.     collectionUser15Bit
  158.     collectionReserved0Bit
  159.     collectionReserved1Bit
  160.     collectionReserved2Bit
  161.     collectionReserved3Bit
  162.     collectionReserved4Bit
  163.     collectionReserved5Bit
  164.     collectionReserved6Bit
  165.     collectionReserved7Bit
  166.     collectionReserved8Bit
  167.     collectionReserved9Bit
  168.     collectionReserved10Bit
  169.     collectionReserved11Bit
  170.     collectionReserved12Bit
  171.     collectionReserved13Bit
  172.     collectionPersistenceBit
  173.     collectionLockBit
  174. æFc Collections.h
  175. æT constant
  176. æD
  177. enum {
  178.     collectionUser0Bit            = 0,
  179.     collectionUser1Bit            = 1,
  180.     collectionUser2Bit            = 2,
  181.     collectionUser3Bit            = 3,
  182.     collectionUser4Bit            = 4,
  183.     collectionUser5Bit            = 5,
  184.     collectionUser6Bit            = 6,
  185.     collectionUser7Bit            = 7,
  186.     collectionUser8Bit            = 8,
  187.     collectionUser9Bit            = 9,
  188.     collectionUser10Bit            = 10,
  189.     collectionUser11Bit            = 11,
  190.     collectionUser12Bit            = 12,
  191.     collectionUser13Bit            = 13,
  192.     collectionUser14Bit            = 14,
  193.     collectionUser15Bit            = 15,
  194.     
  195.     collectionReserved0Bit        = 16,
  196.     collectionReserved1Bit        = 17,
  197.     collectionReserved2Bit        = 18,
  198.     collectionReserved3Bit        = 19,
  199.     collectionReserved4Bit        = 20,
  200.     collectionReserved5Bit        = 21,
  201.     collectionReserved6Bit        = 22,
  202.     collectionReserved7Bit        = 23,
  203.     collectionReserved8Bit        = 24,
  204.     collectionReserved9Bit        = 25,
  205.     collectionReserved10Bit        = 26,
  206.     collectionReserved11Bit        = 27,
  207.     collectionReserved12Bit        = 28,
  208.     collectionReserved13Bit        = 29,
  209.     
  210.     collectionPersistenceBit    = 30,
  211.     collectionLockBit            = 31
  212. };
  213.  
  214. enum {
  215.     collectionUser0Mask            = 1L << collectionUser0Bit,
  216.     collectionUser1Mask            = 1L << collectionUser1Bit,
  217.     collectionUser2Mask            = 1L << collectionUser2Bit,
  218.     collectionUser3Mask            = 1L << collectionUser3Bit,
  219.     collectionUser4Mask            = 1L << collectionUser4Bit,
  220.     collectionUser5Mask            = 1L << collectionUser5Bit,
  221.     collectionUser6Mask            = 1L << collectionUser6Bit,
  222.     collectionUser7Mask            = 1L << collectionUser7Bit,
  223.     collectionUser8Mask            = 1L << collectionUser8Bit,
  224.     collectionUser9Mask            = 1L << collectionUser9Bit,
  225.     collectionUser10Mask        = 1L << collectionUser10Bit,
  226.     collectionUser11Mask        = 1L << collectionUser11Bit,
  227.     collectionUser12Mask        = 1L << collectionUser12Bit,
  228.     collectionUser13Mask        = 1L << collectionUser13Bit,
  229.     collectionUser14Mask        = 1L << collectionUser14Bit,
  230.     collectionUser15Mask        = 1L << collectionUser15Bit,
  231.  
  232.     collectionReserved0Mask        = 1L << collectionReserved0Bit,
  233.     collectionReserved1Mask        = 1L << collectionReserved1Bit,
  234.     collectionReserved2Mask        = 1L << collectionReserved2Bit,
  235.     collectionReserved3Mask        = 1L << collectionReserved3Bit,
  236.     collectionReserved4Mask        = 1L << collectionReserved4Bit,
  237.     collectionReserved5Mask        = 1L << collectionReserved5Bit,
  238.     collectionReserved6Mask        = 1L << collectionReserved6Bit,
  239.     collectionReserved7Mask        = 1L << collectionReserved7Bit,
  240.     collectionReserved8Mask        = 1L << collectionReserved8Bit,
  241.     collectionReserved9Mask        = 1L << collectionReserved9Bit,
  242.     collectionReserved10Mask    = 1L << collectionReserved10Bit,
  243.     collectionReserved11Mask    = 1L << collectionReserved11Bit,
  244.     collectionReserved12Mask    = 1L << collectionReserved12Bit,
  245.     collectionReserved13Mask    = 1L << collectionReserved13Bit,
  246.  
  247.     collectionPersistenceMask    = 1L << collectionPersistenceBit,
  248.     collectionLockMask            = 1L << collectionLockBit
  249. };
  250.  
  251. æC
  252.  
  253. Attribute bits 0 through 15 (entire low word) are reserved for use
  254. by the application.  Attribute bits 16 through 31 (entire high word)
  255. are reserved for use by the Collection Manager.  Only bits 31
  256. (collectionLockBit) and 30 (collectionPersistenceBit) currently have
  257. meaning.
  258.  
  259. æKY collectionManagerTrap
  260. æFc Collections.h
  261. æT constant
  262. æD
  263. #define collectionManagerTrap 0xABF6
  264.  
  265. æKY Collection
  266.     PrivateCollectionRecord
  267. æFc Collections.h
  268. æT structure
  269. æD
  270. typedef struct PrivateCollectionRecord *Collection;
  271.  
  272. æKY CollectionTag
  273. æFc Collections.h
  274. æT structure
  275. æD
  276. typedef long CollectionTag;
  277.  
  278. æKY CollectionFlattenProc
  279.     CollectionFlattenProcPtr
  280. æFc Collections.h
  281. æT structure
  282. æD
  283. typedef pascal OSErr (*CollectionFlattenProcPtr) ( long size,
  284.                                                   void *data,
  285.                                                   void *refCon );
  286. typedef CollectionFlattenProcPtr CollectionFlattenProc;
  287.  
  288. æKY CollectionExceptionProc
  289.     CollectionExceptionProcPtr
  290. æFc Collections.h
  291. æT structure
  292. æD
  293. typedef pascal OSErr (*CollectionExceptionProcPtr) ( Collection c, OSErr status );
  294. typedef CollectionExceptionProcPtr CollectionExceptionProc;
  295.  
  296. æKY NewCollection
  297. æFc Collections.h
  298. æT function
  299. æD
  300. pascal Collection NewCollection (void)
  301. = {0x7000,collectionManagerTrap};
  302.  
  303. æKY DisposeCollection
  304. æFc Collections.h
  305. æT function
  306. æD
  307. pascal void DisposeCollection (Collection)
  308. = {0x7001,collectionManagerTrap};
  309.  
  310. æKY CloneCollection
  311. æFc Collections.h
  312. æT function
  313. æD
  314. pascal Collection CloneCollection (Collection)
  315. = {0x7002,collectionManagerTrap};
  316.  
  317. æKY CountCollectionOwners
  318. æFc Collections.h
  319. æT function
  320. æD
  321. pascal long CountCollectionOwners (Collection)
  322. = {0x7003,collectionManagerTrap};
  323.  
  324. æKY CopyCollection
  325. æFc Collections.h
  326. æT function
  327. æD
  328. pascal Collection CopyCollection (Collection srcCollection,
  329.                                   Collection dstCollection)
  330. = {0x7004,collectionManagerTrap};
  331.  
  332. æKY GetCollectionDefaultAttributes
  333. æFc Collections.h
  334. æT function
  335. æD
  336. pascal long GetCollectionDefaultAttributes (Collection)
  337. = {0x7005,collectionManagerTrap};
  338.  
  339. æKY SetCollectionDefaultAttributes
  340. æFc Collections.h
  341. æT function
  342. æD
  343. pascal void SetCollectionDefaultAttributes (Collection,
  344.                                              long whichAttributes,
  345.                                               long newAttributes)
  346. = {0x7006,collectionManagerTrap};
  347.  
  348. æKY CountCollectionItems
  349. æFc Collections.h
  350. æT function
  351. æD
  352. pascal long CountCollectionItems (Collection)
  353. = {0x7007,collectionManagerTrap};
  354.  
  355. æKY AddCollectionItem
  356. æFc Collections.h
  357. æT function
  358. æD
  359. pascal OSErr AddCollectionItem (Collection,
  360.                                   CollectionTag,
  361.                                 long id,
  362.                                 long itemSize,
  363.                                 void *itemData)
  364. = {0x7008,collectionManagerTrap};
  365.  
  366. æKY GetCollectionItem
  367. æFc Collections.h
  368. æT function
  369. æD
  370. pascal OSErr GetCollectionItem (Collection,
  371.                                 CollectionTag,
  372.                                 long id,
  373.                                 long *itemSize,
  374.                                 void *itemData)
  375. = {0x7009,collectionManagerTrap};
  376.  
  377. æKY RemoveCollectionItem
  378. æFc Collections.h
  379. æT function
  380. æD
  381. pascal OSErr RemoveCollectionItem (Collection, CollectionTag, long id)
  382. = {0x700A,collectionManagerTrap};
  383.  
  384. æKY SetCollectionItemInfo
  385. æFc Collections.h
  386. æT function
  387. æD
  388. pascal OSErr SetCollectionItemInfo (Collection,
  389.                                     CollectionTag,
  390.                                     long id,
  391.                                     long whichAttributes,
  392.                                     long newAttributes)
  393. = {0x700B,collectionManagerTrap};
  394.  
  395. æKY GetCollectionItemInfo
  396. æFc Collections.h
  397. æT function
  398. æD
  399. pascal OSErr GetCollectionItemInfo (Collection,
  400.                                     CollectionTag,
  401.                                     long id,
  402.                                     long *index,
  403.                                     long *itemSize,
  404.                                     long *attributes)
  405. = {0x700C,collectionManagerTrap};
  406.  
  407. æKY ReplaceIndexedCollectionItem
  408. æFc Collections.h
  409. æT function
  410. æD
  411. pascal OSErr ReplaceIndexedCollectionItem (Collection,
  412.                                                  long index,
  413.                                            long itemSize,
  414.                                            void *itemData)
  415. = {0x700D,collectionManagerTrap};
  416.  
  417. æKY GetIndexedCollectionItem
  418. æFc Collections.h
  419. æT function
  420. æD
  421. pascal OSErr GetIndexedCollectionItem (Collection,
  422.                                        long index,
  423.                                        long *itemSize,
  424.                                        void *itemData)
  425. = {0x700E,collectionManagerTrap};
  426.  
  427. æKY RemoveIndexedCollectionItem
  428. æFc Collections.h
  429. æT function
  430. æD
  431. pascal OSErr RemoveIndexedCollectionItem (Collection, long index)
  432. = {0x700F,collectionManagerTrap};
  433.  
  434. æKY SetIndexedCollectionItemInfo
  435. æFc Collections.h
  436. æT function
  437. æD
  438. pascal OSErr SetIndexedCollectionItemInfo (Collection,
  439.                                            long index,
  440.                                            long whichAttributes,
  441.                                            long newAttributes)
  442. = {0x7010,collectionManagerTrap};
  443.  
  444. æKY GetIndexedCollectionItemInfo
  445. æFc Collections.h
  446. æT function
  447. æD
  448. pascal OSErr GetIndexedCollectionItemInfo (Collection,
  449.                                                long index,
  450.                                            CollectionTag *,
  451.                                            long *id,
  452.                                            long *itemSize,
  453.                                            long *attributes)
  454. = {0x7011,collectionManagerTrap};
  455.  
  456. æKY CollectionTagExists
  457. æFc Collections.h
  458. æT function
  459. æD
  460. pascal Boolean CollectionTagExists (Collection, CollectionTag)
  461. = {0x7012,collectionManagerTrap};
  462.  
  463. æKY CountCollectionTags
  464. æFc Collections.h
  465. æT function
  466. æD
  467. pascal long CountCollectionTags (Collection)
  468. = {0x7013,collectionManagerTrap};
  469.  
  470. æKY GetIndexedCollectionTag
  471. æFc Collections.h
  472. æT function
  473. æD
  474. pascal OSErr GetIndexedCollectionTag (Collection,
  475.                                       long whichTag,
  476.                                       CollectionTag *)
  477. = {0x7014,collectionManagerTrap};
  478.  
  479. æKY CountTaggedCollectionItems
  480. æFc Collections.h
  481. æT function
  482. æD
  483. pascal long CountTaggedCollectionItems (Collection, CollectionTag)
  484. = {0x7015,collectionManagerTrap};
  485.  
  486. æKY GetTaggedCollectionItem
  487. æFc Collections.h
  488. æT function
  489. æD
  490. pascal OSErr GetTaggedCollectionItem (Collection,
  491.                                       CollectionTag,
  492.                                       long whichItem,
  493.                                       long *itemSize,
  494.                                       void *itemData)
  495. = {0x7016,collectionManagerTrap};
  496.  
  497. æKY GetTaggedCollectionItemInfo
  498. æFc Collections.h
  499. æT function
  500. æD
  501. pascal OSErr GetTaggedCollectionItemInfo (Collection,
  502.                                           CollectionTag,
  503.                                           long whichItem,
  504.                                           long *id,
  505.                                           long *index,
  506.                                           long *itemSize,
  507.                                           long *attributes)
  508. = {0x7017,collectionManagerTrap};
  509.  
  510. æKY PurgeCollection
  511. æFc Collections.h
  512. æT function
  513. æD
  514. pascal void PurgeCollection (Collection,
  515.                              long whichAttributes,
  516.                              long matchingAttributes)
  517. = {0x7018,collectionManagerTrap};
  518.  
  519. æKY PurgeCollectionTag
  520. æFc Collections.h
  521. æT function
  522. æD
  523. pascal void PurgeCollectionTag (Collection, CollectionTag)
  524. = {0x7019,collectionManagerTrap};
  525.  
  526. æKY EmptyCollection
  527. æFc Collections.h
  528. æT function
  529. æD
  530. pascal void EmptyCollection (Collection)
  531. = {0x701A,collectionManagerTrap};
  532.  
  533. æKY FlattenCollection
  534. æFc Collections.h
  535. æT function
  536. æD
  537. pascal OSErr FlattenCollection (Collection,
  538.                                 CollectionFlattenProc,
  539.                                 void *refCon)
  540. = {0x701B,collectionManagerTrap};
  541.  
  542. æKY FlattenPartialCollection
  543. æFc Collections.h
  544. æT function
  545. æD
  546. pascal OSErr FlattenPartialCollection (Collection,
  547.                                        CollectionFlattenProc,
  548.                                        void *refCon,
  549.                                        long whichAttributes,
  550.                                        long matchingAttributes)
  551. = {0x701C,collectionManagerTrap};
  552.  
  553. æKY UnflattenCollection
  554. æFc Collections.h
  555. æT function
  556. æD
  557. pascal OSErr UnflattenCollection (Collection,
  558.                                   CollectionFlattenProc,
  559.                                   void *refCon)
  560. = {0x701D,collectionManagerTrap};
  561.  
  562. æKY GetCollectionExceptionProc
  563. æFc Collections.h
  564. æT function
  565. æD
  566. pascal CollectionExceptionProc GetCollectionExceptionProc (Collection)
  567. = {0x701E,collectionManagerTrap};
  568.  
  569. æKY SetCollectionExceptionProc
  570. æFc Collections.h
  571. æT function
  572. æD
  573. pascal void SetCollectionExceptionProc (Collection,
  574.                                         CollectionExceptionProc)
  575. = {0x701F,collectionManagerTrap};
  576.  
  577. æKY GetNewCollection
  578. æFc Collections.h
  579. æT function
  580. æD
  581. pascal Collection GetNewCollection (short collectionID)
  582. = {0x7020,collectionManagerTrap};
  583.  
  584. æKY AddCollectionItemHdl
  585. æFc Collections.h
  586. æT function
  587. æD
  588. pascal OSErr AddCollectionItemHdl (Collection aCollection,
  589.                                        CollectionTag tag,
  590.                                    long id,
  591.                                    Handle itemData)
  592. = {0x7021,collectionManagerTrap};
  593.  
  594. æKY GetCollectionItemHdl
  595. æFc Collections.h
  596. æT function
  597. æD
  598. pascal OSErr GetCollectionItemHdl (Collection aCollection,
  599.                                      CollectionTag tag,
  600.                                    long id,
  601.                                    Handle itemData)
  602. = {0x7022,collectionManagerTrap};
  603.  
  604. æKY ReplaceIndexedCollectionItemHdl
  605. æFc Collections.h
  606. æT function
  607. æD
  608. pascal OSErr ReplaceIndexedCollectionItemHdl (Collection aCollection,
  609.                                                     long index,
  610.                                               Handle itemData)
  611. = {0x7023,collectionManagerTrap};
  612.  
  613. æKY GetIndexedCollectionItemHdl
  614. æFc Collections.h
  615. æT function
  616. æD
  617. pascal OSErr GetIndexedCollectionItemHdl (Collection aCollection,
  618.                                              long index,
  619.                                           Handle itemData)
  620. = {0x7024,collectionManagerTrap};
  621.  
  622. æKY FlattenCollectionToHdl
  623. æFc Collections.h
  624. æT function
  625. æD
  626. pascal OSErr FlattenCollectionToHdl (Collection aCollection,
  627.                                      Handle flattened)
  628. = {0x7025,collectionManagerTrap};
  629.  
  630. æKY UnflattenCollectionFromHdl
  631. æFc Collections.h
  632. æT function
  633. æD
  634. pascal OSErr UnflattenCollectionFromHdl (Collection aCollection,
  635.                                          Handle flattened)
  636. = {0x7026,collectionManagerTrap};
  637.  
  638. æKY ApplyInksToLayout
  639. æFc Color Layout Library.h
  640. æT function
  641. æD
  642. gxShape ApplyInksToLayout(
  643.     gxShape                layout,
  644.     long                inkRunCount,
  645.     const short            inkRunLengths[],
  646.     const gxInk            inks[]);
  647.  
  648. æC
  649.  
  650. ApplyInksToLayout takes a layout shape and an array of inks
  651. and returns a picture shape which is a collection of glyph
  652. shapes such that the specified inks are applied to the
  653. specified byte lengths in the original layout. Note that the
  654. sum of the inkRunLengths array must equal the value returned
  655. by GXGetLayout for the shape (in other words, you must
  656. provide all the runs in this version). It's OK to specify
  657. nils in the inks[] array.
  658.  
  659. æKY NewLayoutWithInks
  660. æFc Color Layout Library.h
  661. æT function
  662. æD
  663. gxShape NewLayoutWithInks(
  664.     long                    textRunCount,
  665.     const short                textRunLengths[],
  666.     const void                *text[],
  667.     long                    styleRunCount,
  668.     const short                styleRunLengths[],
  669.     const gxStyle            styles[],
  670.     long                    levelRunCount,
  671.     const short                levelRunLengths[],
  672.     const short                levels[],
  673.     const gxLayoutOptions    *layoutOptions,
  674.     const gxPoint            *position,
  675.     gxShape                    *newLayout,
  676.     long                    inkRunCount,
  677.     const short                inkRunLengths[],
  678.     const gxInk                inks[]);
  679.  
  680. æC
  681.  
  682. This routine is an accelerator for the NewLayout,
  683. ApplyInksToLayout combination.
  684.  
  685. æKY weightVariationTag
  686.     wght
  687.     'wght'
  688.     widthVariationTag
  689.     wdth
  690.     'wdth'
  691.     slantVariationTag
  692.     slnt
  693.     'slnt'
  694.     opticalScaleVariationTag
  695.     opsz
  696.     'opsz'
  697.     prefwghtweighting
  698.     prefwdthweighting
  699.     prefslntweighting
  700.     prefcontweighting
  701. æFc Font Library.h
  702. æT constant
  703. æD
  704.     /*  example gxFont descriptor tags */
  705.  
  706. #define weightVariationTag            0x77676874    /* 'wght' */
  707. #define widthVariationTag            0x77647468    /* 'wdth' */
  708. #define slantVariationTag            0x736c6e74    /* 'slnt' */
  709. #define opticalScaleVariationTag    0x6f70737a    /* 'opsz' */
  710.  
  711.     /* weights for gxStyle matching */
  712.  
  713. #define prefwghtweighting            0x00010000
  714. #define prefwdthweighting            0x00020000
  715. #define prefslntweighting            0x00010000
  716. #define prefcontweighting            0x00040000
  717.  
  718. æC
  719.  
  720. prefslntweighting is naturally weighted to last place.
  721.  
  722. æKY commonFonts
  723.     firstCommonFont
  724.     chicagoFont
  725.     courierFont
  726.     genevaFont
  727.     helveticaFont
  728.     monacoFont
  729.     newyorkFont
  730.     symbolFont
  731.     timesFont
  732.     lastCommonFont
  733.     commonFont
  734. æFc Font Library.h
  735. æT constant
  736. æD
  737. enum commonFonts {
  738.     firstCommonFont,
  739.     chicagoFont = firstCommonFont,
  740.     courierFont,
  741.     genevaFont,
  742.     helveticaFont,
  743.     monacoFont,
  744.     newyorkFont,
  745.     symbolFont,
  746.     timesFont,
  747.     lastCommonFont = timesFont
  748. };
  749.  
  750. typedef long commonFont;
  751.  
  752. æKY matchingStyles
  753.     noMatching
  754.     useStyleMatching
  755.     useVariationsMatching
  756.     useTextFaceMatching
  757.     matchingStyle
  758. æFc Font Library.h
  759. æT constant
  760. æD
  761. enum matchingStyles {
  762.     noMatching = 0,
  763.     useStyleMatching,
  764.     useVariationsMatching,
  765.     useTextFaceMatching= 4
  766. };
  767.     
  768. typedef long matchingStyle;
  769.  
  770. æKY GetCommonFont
  771. æFc Font Library.h
  772. æT function
  773. æD
  774. gxFont GetCommonFont(commonFont font);
  775.  
  776. æKY SetShapeCommonFont
  777. æFc Font Library.h
  778. æT function
  779. æD
  780. void SetShapeCommonFont(gxShape target, commonFont font);
  781.  
  782. æKY SetStyleCommonFont
  783. æFc Font Library.h
  784. æT function
  785. æD
  786. void SetStyleCommonFont(gxStyle target, commonFont font);
  787.  
  788. æKY FindCNameFont
  789. æFc Font Library.h
  790. æT function
  791. æD
  792. gxFont FindCNameFont(gxFontName meaning, const char name[]);
  793.  
  794. æKY FindPNameFont
  795. æFc Font Library.h
  796. æT function
  797. æD
  798. gxFont FindPNameFont(gxFontName meaning, const unsigned char name[]);
  799.  
  800. æKY FindFontCName
  801. æFc Font Library.h
  802. æT function
  803. æD
  804. long FindFontCName(gxFont fontID, gxFontName meaning, char name[]);
  805.  
  806. æKY FindFontPName
  807. æFc Font Library.h
  808. æT function
  809. æD
  810. long FindFontPName(gxFont fontID, gxFontName meaning, unsigned char name[]);
  811.  
  812. æKY FindStyleFontCName
  813. æFc Font Library.h
  814. æT function
  815. æD
  816. long FindStyleFontCName(gxStyle source, gxFontName meaning, char name[]);
  817.  
  818. æKY FindStyleFontPName
  819. æFc Font Library.h
  820. æT function
  821. æD
  822. long FindStyleFontPName(gxStyle source, gxFontName meaning,
  823.                         unsigned char name[]);
  824.  
  825. æKY SetStylePNamedFont
  826. æFc Font Library.h
  827. æT function
  828. æD
  829. void SetStylePNamedFont(gxStyle target, const unsigned char name[]);
  830.  
  831. æKY SetStyleCNamedFont
  832. æFc Font Library.h
  833. æT function
  834. æD
  835. void SetStyleCNamedFont(gxStyle target, const char* name);
  836.  
  837.  
  838. æKY CountFontFamilies
  839. æFc Font Library.h
  840. æT function
  841. æD
  842. long CountFontFamilies(void);
  843.  
  844. æKY FindFontFamily
  845. æFc Font Library.h
  846. æT function
  847. æD
  848. gxFont FindFontFamily(long index, gxFontPlatform platform,
  849.                       gxFontScript script, gxFontLanguage language,
  850.                       long nameLength, const unsigned char *name);
  851.  
  852. æKY CountFontStyles
  853. æFc Font Library.h
  854. æT function
  855. æD
  856. long CountFontStyles(gxFont family);
  857.  
  858. æKY FindFontStyle
  859. æFc Font Library.h
  860. æT function
  861. æD
  862. gxFont FindFontStyle(gxFont family, long index, gxFontPlatform platform,
  863.                      gxFontScript script, gxFontLanguage language,
  864.                      long nameLength, const unsigned char *name);
  865.  
  866. æKY SetMatchingStyle
  867. æFc Font Library.h
  868. æT function
  869. æD
  870. void SetMatchingStyle(gxFont targetFamily, gxStyle theStyle,
  871.                       matchingStyle matchInfo);
  872.  
  873. æKY ReturnMatchingStyle
  874. æFc Font Library.h
  875. æT function
  876. æD
  877. gxStyle ReturnMatchingStyle(gxFont targetFamily, gxStyle theStyle,
  878.                             matchingStyle matchInfo);
  879.  
  880. æKY fontMenuAttributes
  881.     noInstancesFontMenu
  882. æFc Font Menu Library.h
  883. æT constant
  884. æD
  885. enum fontMenuAttributes {
  886.     noInstancesFontMenu = 1
  887. };
  888.  
  889. typedef long fontMenuAttribute;
  890.  
  891. æKY fontFilterProc
  892. æFc Font Menu Library.h
  893. æT structure
  894. æD
  895. typedef boolean (*fontFilterProc) (gxFont fontID);
  896.  
  897. æKY SortMenu
  898. æFc Font Menu Library.h
  899. æT function
  900. æD
  901. void SortMenu(MenuHandle menu);
  902.  
  903. æKY DeleteMenuItems
  904. æFc Font Menu Library.h
  905. æT function
  906. æD
  907. void DeleteMenuItems(MenuHandle menuH);
  908.  
  909. æKY FontMenu
  910. æFc Font Menu Library.h
  911. æT function
  912. æD
  913. long FontMenu(MenuHandle menu);
  914.  
  915. æKY FontPlatformMenu
  916. æFc Font Menu Library.h
  917. æT function
  918. æD
  919. long FontPlatformMenu(MenuHandle menu, gxFontPlatform platform,
  920.                       gxFontScript script, gxFontLanguage language);
  921.  
  922. æKY FontFamilyMenu
  923. æFc Font Menu Library.h
  924. æT function
  925. æD
  926. long FontFamilyMenu(MenuHandle menu);
  927.  
  928. æKY FontFamilyPlatformMenu
  929. æFc Font Menu Library.h
  930. æT function
  931. æD
  932. long FontFamilyPlatformMenu(MenuHandle menu, gxFontPlatform platform,
  933.                             gxFontScript script, gxFontLanguage language);
  934.  
  935. æKY FontStyleMenu
  936. æFc Font Menu Library.h
  937. æT function
  938. æD
  939. MenuHandle FontStyleMenu(short menuID, gxFont family);
  940.  
  941. æKY HierFontMenu
  942. æFc Font Menu Library.h
  943. æT function
  944. æD
  945. short HierFontMenu(MenuHandle theMenu, short firstHierMenuID,
  946.                    fontFilterProc proc, fontMenuAttribute attr);
  947.  
  948. æKY DoHierFontMenuCommand
  949. æFc Font Menu Library.h
  950. æT function
  951. æD
  952. gxFont DoHierFontMenuCommand(long menuResult, short hierFontMenuID,
  953.                              long *instanceIndex);
  954.  
  955. æKY DoHierFontMenuCommandStyle
  956. æFc Font Menu Library.h
  957. æT function
  958. æD
  959. boolean DoHierFontMenuCommandStyle(long menuResult, short hierFontMenuID,
  960.                                    gxStyle aStyle, long matchInfo);
  961.  
  962. æKY DoHierFontMenuCommandShape
  963. æFc Font Menu Library.h
  964. æT function
  965. æD
  966. short DoHierFontMenuCommandShape(long menuResult, short hierFontMenuID,
  967.                                  gxShape aShape);
  968.  
  969. æKY FontToQD
  970. æFc Font Menu Library.h
  971. æT function
  972. æD
  973. long FontToQD(gxFont fontID, long* styleBits);
  974.  
  975. æKY GetMenuRunFeatures
  976. æFc Font Menu Library.h
  977. æT function
  978. æD
  979. long GetMenuRunFeatures(MenuHandle menu, gxFont fontID, gxRunFeature feature[]);
  980.  
  981. æKY SetMenuRunFeatures
  982. æFc Font Menu Library.h
  983. æT function
  984. æD
  985. void SetMenuRunFeatures(MenuHandle menu, gxFont fontID, long count,
  986.                         const gxRunFeature feature[]);
  987.  
  988. æKY FontFeatureMenu
  989. æFc Font Menu Library.h
  990. æT function
  991. æD
  992. void FontFeatureMenu(MenuHandle menu, gxFont fontID);
  993.  
  994. æKY ToggleFeatureMenuItem
  995. æFc Font Menu Library.h
  996. æT function
  997. æD
  998. void ToggleFeatureMenuItem(MenuHandle menuH, gxFont fontID, int item);
  999.  
  1000. æKY ToggleFeatureMenuFeature
  1001. æFc Font Menu Library.h
  1002. æT function
  1003. æD
  1004. void ToggleFeatureMenuFeature(MenuHandle menuH, gxFont fontID,
  1005.                               gxRunFeature feature);
  1006.  
  1007. æKY StyleFeatureMenu
  1008. æFc Font Menu Library.h
  1009. æT function
  1010. æD
  1011. void StyleFeatureMenu(MenuHandle menuH, const gxStyle style);
  1012.  
  1013. æKY GetDefaultFontFeatures
  1014. æFc Font Menu Library.h
  1015. æT function
  1016. æD
  1017. long GetDefaultFontFeatures(gxFont fontID, gxRunFeature features[]);
  1018.  
  1019. æKY SetShapeDefaultFeatures
  1020. æFc Font Menu Library.h
  1021. æT function
  1022. æD
  1023. void SetShapeDefaultFeatures(gxShape dst, gxFont fontID);
  1024.  
  1025. æKY SetStyleDefaultFeatures
  1026. æFc Font Menu Library.h
  1027. æT function
  1028. æD
  1029. void SetStyleDefaultFeatures(gxStyle dst, gxFont fontID);
  1030.  
  1031. æKY GXNewFont
  1032. æFc Font Routines.h
  1033. æT function
  1034. æD
  1035. gxFont GXNewFont(gxFontStorageTag storage, gxFontStorageReference reference,
  1036.                  gxFontAttribute attributes)
  1037.     GXInlineCode(0x201, gxNeedClient|gxNeedHeap|gxNeedStack);
  1038.  
  1039. æKY GXGetFont
  1040. æFc Font Routines.h
  1041. æT function
  1042. æD
  1043. gxFontStorageTag GXGetFont(gxFont fontID, gxFontStorageReference *reference,
  1044.                            gxFontAttribute *attributes)
  1045.     GXInlineCode(0x202, gxNeedClient|gxNeedHeap|gxNeedStack);
  1046.  
  1047. æKY GXFindFont
  1048. æFc Font Routines.h
  1049. æT function
  1050. æD
  1051. gxFont GXFindFont(gxFontStorageTag storage, gxFontStorageReference reference,
  1052.                   gxFontAttribute* attributes)
  1053.     GXInlineCode(0x203, gxNeedClient|gxNeedHeap|gxNeedStack);
  1054.  
  1055. æKY GXSetFont
  1056. æFc Font Routines.h
  1057. æT function
  1058. æD
  1059. void GXSetFont(gxFont fontID, gxFontStorageTag storage,
  1060.                gxFontStorageReference reference,
  1061.                gxFontAttribute attributes)
  1062.     GXInlineCode(0x204, gxNeedClient|gxNeedHeap|gxNeedStack);
  1063.  
  1064. æKY GXDisposeFont
  1065. æFc Font Routines.h
  1066. æT function
  1067. æD
  1068. void GXDisposeFont(gxFont fontID)
  1069.     GXInlineCode(0x205, gxNeedClient|gxNeedHeap|gxNeedStack);
  1070.  
  1071. æKY GXChangedFont
  1072. æFc Font Routines.h
  1073. æT function
  1074. æD
  1075. void GXChangedFont(gxFont fontID)
  1076.     GXInlineCode(0x206, gxNeedClient|gxNeedHeap|gxNeedStack);
  1077.  
  1078. æKY GXGetFontFormat
  1079. æFc Font Routines.h
  1080. æT function
  1081. æD
  1082. gxFontFormatTag GXGetFontFormat(gxFont fontID)
  1083.     GXInlineCode(0x207, gxNeedClient|gxNeedHeap|gxNeedStack);
  1084.  
  1085. æKY GXGetDefaultFont
  1086. æFc Font Routines.h
  1087. æT function
  1088. æD
  1089. gxFont GXGetDefaultFont(void)
  1090.     GXInlineCode(0x208, gxNeedClient|gxNeedHeap|gxNeedStack);
  1091.  
  1092. æKY GXSetDefaultFont
  1093. æFc Font Routines.h
  1094. æT function
  1095. æD
  1096. gxFont GXSetDefaultFont(gxFont fontID)
  1097.     GXInlineCode(0x209, gxNeedClient|gxNeedHeap|gxNeedStack);
  1098.  
  1099. æKY GXFindFonts
  1100. æFc Font Routines.h
  1101. æT function
  1102. æD
  1103. long GXFindFonts(gxFont familyID,
  1104.                  gxFontName name,
  1105.                  gxFontPlatform platform,
  1106.                  gxFontScript script,
  1107.                  gxFontLanguage language,
  1108.                  long length,
  1109.                  const unsigned char text[],
  1110.                  long index,
  1111.                  long count,
  1112.                  gxFont fonts[])
  1113.     GXInlineCode(0x20a, gxNeedClient|gxNeedHeap|gxNeedStack);
  1114.  
  1115. æKY GXCountFontGlyphs
  1116. æFc Font Routines.h
  1117. æT function
  1118. æD
  1119. long GXCountFontGlyphs(gxFont fontID)
  1120.     GXInlineCode(0x20b, gxNeedClient|gxNeedHeap|gxNeedStack);
  1121.  
  1122. æKY GXCountFontTables
  1123. æFc Font Routines.h
  1124. æT function
  1125. æD
  1126. long GXCountFontTables(gxFont fontID)
  1127.     GXInlineCode(0x20c, gxNeedClient|gxNeedHeap|gxNeedStack);
  1128.  
  1129. æKY GXGetFontTable
  1130. æFc Font Routines.h
  1131. æT function
  1132. æD
  1133. long GXGetFontTable(gxFont fontID, long index, void* tableData,
  1134.                     gxFontTableTag* tableTag)
  1135.     GXInlineCode(0x20d, gxNeedClient|gxNeedHeap|gxNeedStack);
  1136.  
  1137. æKY GXFindFontTable
  1138. æFc Font Routines.h
  1139. æT function
  1140. æD
  1141. long GXFindFontTable(gxFont fontID, gxFontTableTag tableTag,
  1142.                      void* tableData, long* index)
  1143.     GXInlineCode(0x20e, gxNeedClient|gxNeedHeap|gxNeedStack);
  1144.  
  1145. æKY GXGetFontTableParts
  1146. æFc Font Routines.h
  1147. æT function
  1148. æD
  1149. long GXGetFontTableParts(gxFont fontID,
  1150.                          long index,
  1151.                          long offset,
  1152.                          long length,
  1153.                          void* tableData,
  1154.                          gxFontTableTag* tableTag)
  1155.     GXInlineCode(0x20f, gxNeedClient|gxNeedHeap|gxNeedStack);
  1156.  
  1157. æKY GXFindFontTableParts
  1158. æFc Font Routines.h
  1159. æT function
  1160. æD
  1161. long GXFindFontTableParts(gxFont fontID,
  1162.                           gxFontTableTag tableTag,
  1163.                           long offset,
  1164.                           long length,
  1165.                           void* tableData,
  1166.                           long* index)
  1167.     GXInlineCode(0x210, gxNeedClient|gxNeedHeap|gxNeedStack);
  1168.  
  1169. æKY GXSetFontTable
  1170. æFc Font Routines.h
  1171. æT function
  1172. æD
  1173. long GXSetFontTable(gxFont fontID, long index, gxFontTableTag tableTag,
  1174.                     long length, const void* tableData)
  1175.     GXInlineCode(0x211, gxNeedClient|gxNeedHeap|gxNeedStack);
  1176.  
  1177. æKY GXSetFontTableParts
  1178. æFc Font Routines.h
  1179. æT function
  1180. æD
  1181. long GXSetFontTableParts(gxFont fontID,
  1182.                          long index,
  1183.                          gxFontTableTag tableTag,
  1184.                          long offset,
  1185.                          long oldLength,
  1186.                          long newLength,
  1187.                          const void* tableData)
  1188.     GXInlineCode(0x212, gxNeedClient|gxNeedHeap|gxNeedStack);
  1189.  
  1190. æKY GXDeleteFontTable
  1191. æFc Font Routines.h
  1192. æT function
  1193. æD
  1194. long GXDeleteFontTable(gxFont fontID, long index,
  1195.                        gxFontTableTag tableTag)
  1196.     GXInlineCode(0x213, gxNeedClient|gxNeedHeap|gxNeedStack);
  1197.  
  1198. æKY GXCountFontNames
  1199. æFc Font Routines.h
  1200. æT function
  1201. æD
  1202. long GXCountFontNames(gxFont fontID)
  1203.     GXInlineCode(0x214, gxNeedClient|gxNeedHeap|gxNeedStack);
  1204.  
  1205. æKY GXGetFontName
  1206. æFc Font Routines.h
  1207. æT function
  1208. æD
  1209. long GXGetFontName(gxFont fontID,
  1210.                    long index,
  1211.                    gxFontName *name,
  1212.                    gxFontPlatform *platform,
  1213.                    gxFontScript *script,
  1214.                    gxFontLanguage *language,
  1215.                    unsigned char text[])
  1216.     GXInlineCode(0x215, gxNeedClient|gxNeedHeap|gxNeedStack);
  1217.  
  1218. æKY GXFindFontName
  1219. æFc Font Routines.h
  1220. æT function
  1221. æD
  1222. long GXFindFontName(gxFont fontID,
  1223.                     gxFontName name,
  1224.                     gxFontPlatform platform,
  1225.                     gxFontScript script,
  1226.                     gxFontLanguage language,
  1227.                     unsigned char text[],
  1228.                     long *index)
  1229.     GXInlineCode(0x216, gxNeedClient|gxNeedHeap|gxNeedStack);
  1230.  
  1231. æKY GXSetFontName
  1232. æFc Font Routines.h
  1233. æT function
  1234. æD
  1235. long GXSetFontName(gxFont fontID,
  1236.                    gxFontName name,
  1237.                    gxFontPlatform platform,
  1238.                    gxFontScript script,
  1239.                    gxFontLanguage language,
  1240.                    long length,
  1241.                    const unsigned char text[])
  1242.     GXInlineCode(0x217, gxNeedClient|gxNeedHeap|gxNeedStack);
  1243.  
  1244. æKY GXDeleteFontName
  1245. æFc Font Routines.h
  1246. æT function
  1247. æD
  1248. long GXDeleteFontName(gxFont fontID,
  1249.                       long index,
  1250.                       gxFontName name,
  1251.                       gxFontPlatform platform,
  1252.                       gxFontScript script,
  1253.                       gxFontLanguage language)
  1254.     GXInlineCode(0x218, gxNeedClient|gxNeedHeap|gxNeedStack);
  1255.  
  1256. æKY GXNewFontNameID
  1257. æFc Font Routines.h
  1258. æT function
  1259. æD
  1260. gxFontName GXNewFontNameID(gxFont fontID)
  1261.     GXInlineCode(0x219, gxNeedClient|gxNeedHeap|gxNeedStack);
  1262.  
  1263. æKY GXCountFontEncodings
  1264. æFc Font Routines.h
  1265. æT function
  1266. æD
  1267. long GXCountFontEncodings(gxFont fontID)
  1268.     GXInlineCode(0x21a, gxNeedClient|gxNeedHeap|gxNeedStack);
  1269.  
  1270. æKY GXGetFontEncoding
  1271. æFc Font Routines.h
  1272. æT function
  1273. æD
  1274. gxFontPlatform GXGetFontEncoding(gxFont fontID,
  1275.                                  long index,
  1276.                                  gxFontScript *script,
  1277.                                  gxFontLanguage* language)
  1278.     GXInlineCode(0x21b, gxNeedClient|gxNeedHeap|gxNeedStack);
  1279.  
  1280. æKY GXFindFontEncoding
  1281. æFc Font Routines.h
  1282. æT function
  1283. æD
  1284. long GXFindFontEncoding(gxFont fontID,
  1285.                         gxFontPlatform platform,
  1286.                         gxFontScript script,
  1287.                         gxFontLanguage language)
  1288.     GXInlineCode(0x21c, gxNeedClient|gxNeedHeap|gxNeedStack);
  1289.  
  1290. æKY GXApplyFontEncoding
  1291. æFc Font Routines.h
  1292. æT function
  1293. æD
  1294. long GXApplyFontEncoding(gxFont fontID,
  1295.                          long index,
  1296.                          long* length,
  1297.                          const unsigned char text[],
  1298.                          long count,
  1299.                          unsigned short glyphs[],
  1300.                          char was16Bit[])
  1301.     GXInlineCode(0x21d, gxNeedClient|gxNeedHeap|gxNeedStack);
  1302.  
  1303. æKY GXCountFontVariations
  1304. æFc Font Routines.h
  1305. æT function
  1306. æD
  1307. long GXCountFontVariations(gxFont)
  1308.     GXInlineCode(0x21e, gxNeedClient|gxNeedHeap|gxNeedStack);
  1309.  
  1310. æKY GXFindFontVariation
  1311. æFc Font Routines.h
  1312. æT function
  1313. æD
  1314. long GXFindFontVariation(gxFont,
  1315.                          gxFontVariationTag variationTag,
  1316.                          Fixed* minValue,
  1317.                          Fixed* defaultValue,
  1318.                          Fixed* maxValue,
  1319.                          gxFontName* name)
  1320.     GXInlineCode(0x21f, gxNeedClient|gxNeedHeap|gxNeedStack);
  1321.  
  1322. æKY GXGetFontVariation
  1323. æFc Font Routines.h
  1324. æT function
  1325. æD
  1326. gxFontVariationTag GXGetFontVariation(gxFont,
  1327.                                       long index,
  1328.                                       Fixed* minValue,
  1329.                                       Fixed* defaultValue,
  1330.                                       Fixed* maxValue,
  1331.                                       gxFontName* name)
  1332.     GXInlineCode(0x220, gxNeedClient|gxNeedHeap|gxNeedStack);
  1333.  
  1334. æKY GXCountFontInstances
  1335. æFc Font Routines.h
  1336. æT function
  1337. æD
  1338. long GXCountFontInstances(gxFont)
  1339.     GXInlineCode(0x221, gxNeedClient|gxNeedHeap|gxNeedStack);
  1340.  
  1341. æKY GXGetFontInstance
  1342. æFc Font Routines.h
  1343. æT function
  1344. æD
  1345. gxFontName GXGetFontInstance(gxFont, long index, gxFontVariation variation[])
  1346.     GXInlineCode(0x222, gxNeedClient|gxNeedHeap|gxNeedStack);
  1347.  
  1348. æKY GXSetFontInstance
  1349. æFc Font Routines.h
  1350. æT function
  1351. æD
  1352. long GXSetFontInstance(gxFont fontID, long index,
  1353.                        gxFontName name, const gxFontVariation variation[])
  1354.     GXInlineCode(0x223, gxNeedClient|gxNeedHeap|gxNeedStack);
  1355.  
  1356. æKY GXDeleteFontInstance
  1357. æFc Font Routines.h
  1358. æT function
  1359. æD
  1360. long GXDeleteFontInstance(gxFont fontID, long index, gxFontName name)
  1361.     GXInlineCode(0x224, gxNeedClient|gxNeedHeap|gxNeedStack);
  1362.  
  1363. æKY GXCountFontDescriptors
  1364. æFc Font Routines.h
  1365. æT function
  1366. æD
  1367. long GXCountFontDescriptors(gxFont fontID)
  1368.     GXInlineCode(0x225, gxNeedClient|gxNeedHeap|gxNeedStack);
  1369.  
  1370. æKY GXGetFontDescriptor
  1371. æFc Font Routines.h
  1372. æT function
  1373. æD
  1374. gxFontDescriptorTag GXGetFontDescriptor(gxFont fontID, long index,
  1375.                                         Fixed* descriptorValue)
  1376.     GXInlineCode(0x226, gxNeedClient|gxNeedHeap|gxNeedStack);
  1377.  
  1378. æKY GXFindFontDescriptor
  1379. æFc Font Routines.h
  1380. æT function
  1381. æD
  1382. long GXFindFontDescriptor(gxFont fontID, gxFontDescriptorTag descriptorTag,
  1383.                           Fixed* descriptorValue)
  1384.     GXInlineCode(0x227, gxNeedClient|gxNeedHeap|gxNeedStack);
  1385.  
  1386. æKY GXSetFontDescriptor
  1387. æFc Font Routines.h
  1388. æT function
  1389. æD
  1390. long GXSetFontDescriptor(gxFont fontID,
  1391.                          long index,
  1392.                          gxFontDescriptorTag descriptorTag,
  1393.                          Fixed descriptorValue)
  1394.     GXInlineCode(0x228, gxNeedClient|gxNeedHeap|gxNeedStack);
  1395.  
  1396. æKY GXDeleteFontDescriptor
  1397. æFc Font Routines.h
  1398. æT function
  1399. æD
  1400. long GXDeleteFontDescriptor(gxFont fontID, long index,
  1401.                             gxFontDescriptorTag descriptorTag)
  1402.     GXInlineCode(0x229, gxNeedClient|gxNeedHeap|gxNeedStack);
  1403.  
  1404. æKY GXCountFontFeatures
  1405. æFc Font Routines.h
  1406. æT function
  1407. æD
  1408. long GXCountFontFeatures(gxFont fontID)
  1409.     GXInlineCode(0x22a, gxNeedClient|gxNeedHeap|gxNeedStack);
  1410.  
  1411. æKY GXGetFontFeature
  1412. æFc Font Routines.h
  1413. æT function
  1414. æD
  1415. gxFontName GXGetFontFeature(gxFont fontID,
  1416.                             long index,
  1417.                             gxFontFeatureFlag* flags,
  1418.                             long* settingCount,
  1419.                             gxFontFeatureSetting settings[],
  1420.                             gxFontFeature* feature)
  1421.     GXInlineCode(0x22b, gxNeedClient|gxNeedHeap|gxNeedStack);
  1422.  
  1423. æKY GXFindFontFeature
  1424. æFc Font Routines.h
  1425. æT function
  1426. æD
  1427. gxFontName GXFindFontFeature(gxFont fontID,
  1428.                              gxFontFeature feature,
  1429.                              gxFontFeatureFlag* flags,
  1430.                              long* settingCount,
  1431.                              gxFontFeatureSetting settings[],
  1432.                              long* index)
  1433.     GXInlineCode(0x22c, gxNeedClient|gxNeedHeap|gxNeedStack);
  1434.  
  1435. æKY GXFlattenFont
  1436. æFc Font Routines.h
  1437. æT function
  1438. æD
  1439. void GXFlattenFont(gxFont source, struct scalerStream* stream,
  1440.                    struct gxSpoolBlock* block)
  1441.     GXInlineCode(0x22d, gxNeedClient|gxNeedHeap|gxNeedStack);
  1442.  
  1443. æKY gxPrivateFontRecord
  1444.     gxFont
  1445. æFc Font Types.h
  1446. æT structure
  1447. æD
  1448. typedef struct gxPrivateFontRecord *gxFont;
  1449.  
  1450. æKY gxNoPlatform
  1451. æFc Font Types.h
  1452. æT constant
  1453. æD
  1454. #define gxNoPlatform        0
  1455.  
  1456. æKY gxNoScript
  1457. æFc Font Types.h
  1458. æT constant
  1459. æD
  1460. #define gxNoScript            0
  1461.  
  1462. æKY gxNoLanguage
  1463. æFc Font Types.h
  1464. æT constant
  1465. æD
  1466. #define gxNoLanguage        0
  1467.  
  1468. æKY gxNoFontName
  1469. æFc Font Types.h
  1470. æT constant
  1471. æD
  1472. #define gxNoFontName        0
  1473.  
  1474. æKY gxGlyphPlatform
  1475. æFc Font Types.h
  1476. æT constant
  1477. æD
  1478. #define gxGlyphPlatform        -1
  1479.  
  1480. æKY gxFontPlatforms
  1481.     gxUnicodePlatform
  1482.     gxMacintoshPlatform
  1483.     gxMicrosoftPlatform
  1484.     gxCustomPlatform
  1485.     gxLastFontPlatform
  1486.     gxFontPlatform
  1487. æFc Font Types.h
  1488. æT constant
  1489. æD
  1490. enum gxFontPlatforms {
  1491.     gxUnicodePlatform = 1,
  1492.     gxMacintoshPlatform,
  1493.     gxReservedPlatform,
  1494.     gxMicrosoftPlatform,
  1495.     gxCustomPlatform
  1496. };
  1497.  
  1498. typedef long gxFontPlatform;
  1499.  
  1500. æKY gxUnicodeScripts
  1501.     gxUnicodeDefaultSemantics
  1502.     gxUnicodeV1_1Semantics
  1503.     gxISO10646_1993Semantics
  1504.     gxLastUnicodeScript
  1505. æFc Font Types.h
  1506. æT constant
  1507. æD
  1508. enum gxUnicodeScripts {
  1509.     gxUnicodeDefaultSemantics = 1,
  1510.     gxUnicodeV1_1Semantics,
  1511.     gxISO10646_1993Semantics
  1512. };
  1513.  
  1514. æKY gxMacintoshScripts
  1515.     gxRomanScript
  1516.     gxJapaneseScript
  1517.     gxTraditionalChineseScript
  1518.     gxChineseScript
  1519.     gxKoreanScript
  1520.     gxArabicScript
  1521.     gxHebrewScript
  1522.     gxGreekScript
  1523.     gxCyrillicScript
  1524.     gxRussian
  1525.     gxRSymbolScript
  1526.     gxDevanagariScript
  1527.     gxGurmukhiScript
  1528.     gxGujaratiScript
  1529.     gxOriyaScript
  1530.     gxBengaliScript
  1531.     gxTamilScript
  1532.     gxTeluguScript
  1533.     gxKannadaScript
  1534.     gxMalayalamScript
  1535.     gxSinhaleseScript
  1536.     gxBurmeseScript
  1537.     gxKhmerScript
  1538.     gxThaiScript
  1539.     gxLaotianScript
  1540.     gxGeorgianScript
  1541.     gxArmenianScript
  1542.     gxSimpleChineseScript
  1543.     gxTibetanScript
  1544.     gxMongolianScript
  1545.     gxGeezScript
  1546.     gxEthiopicScript
  1547.     gxAmharicScript
  1548.     gxSlavicScript
  1549.     gxEastEuropeanRomanScript
  1550.     gxVietnameseScript
  1551.     gxExtendedArabicScript
  1552.     gxSindhiScript
  1553.     gxUninterpretedScript
  1554.     gxLastMacintoshScript
  1555. æFc Font Types.h
  1556. æT constant
  1557. æD
  1558. enum gxMacintoshScripts {
  1559.     gxRomanScript = 1,
  1560.     gxJapaneseScript,
  1561.     gxTraditionalChineseScript,
  1562.     gxChineseScript = gxTraditionalChineseScript,
  1563.     gxKoreanScript,
  1564.     gxArabicScript,
  1565.     gxHebrewScript,
  1566.     gxGreekScript,
  1567.     gxCyrillicScript,
  1568.     gxRussian = gxCyrillicScript,
  1569.     gxRSymbolScript,
  1570.     gxDevanagariScript,
  1571.     gxGurmukhiScript,
  1572.     gxGujaratiScript,
  1573.     gxOriyaScript,
  1574.     gxBengaliScript,
  1575.     gxTamilScript,
  1576.     gxTeluguScript,
  1577.     gxKannadaScript,
  1578.     gxMalayalamScript,
  1579.     gxSinhaleseScript,
  1580.     gxBurmeseScript,
  1581.     gxKhmerScript,
  1582.     gxThaiScript,
  1583.     gxLaotianScript,
  1584.     gxGeorgianScript,
  1585.     gxArmenianScript,
  1586.     gxSimpleChineseScript,
  1587.     gxTibetanScript,
  1588.     gxMongolianScript,
  1589.     gxGeezScript,
  1590.     gxEthiopicScript = gxGeezScript,
  1591.     gxAmharicScript = gxGeezScript,
  1592.     gxSlavicScript,
  1593.     gxEastEuropeanRomanScript = gxSlavicScript,
  1594.     gxVietnameseScript,
  1595.     gxExtendedArabicScript,
  1596.     gxSindhiScript = gxExtendedArabicScript,
  1597.     gxUninterpretedScript
  1598. };
  1599.  
  1600. æKY gxMicrosoftScripts
  1601.     gxMicrosoftSymbolScript
  1602.     gxMicrosoftStandardScript
  1603.     gxLastMicrosoftScript
  1604. æFc Font Types.h
  1605. æT constant
  1606. æD
  1607. enum gxMicrosoftScripts {
  1608.     gxMicrosoftSymbolScript = 1,
  1609.     gxMicrosoftStandardScript
  1610. };
  1611.  
  1612. æKY gxCustomScripts
  1613.     gxCustom8BitScript
  1614.     gxCustom816BitScript
  1615.     gxCustom16BitScript
  1616.     gxLastCustomScript
  1617. æFc Font Types.h
  1618. æT constant
  1619. æD
  1620. enum gxCustomScripts {
  1621.     gxCustom8BitScript = 1,
  1622.     gxCustom816BitScript,
  1623.     gxCustom16BitScript
  1624. };
  1625.  
  1626. æKY gxFontScript
  1627. æFc Font Types.h
  1628. æT structure
  1629. æD
  1630. typedef long gxFontScript;
  1631.  
  1632. æKY gxFontLanguages
  1633.     gxEnglishLanguage
  1634.     gxFrenchLanguage
  1635.     gxGermanLanguage
  1636.     gxItalianLanguage
  1637.     gxDutchLanguage
  1638.     gxSwedishLanguage
  1639.     gxSpanishLanguage
  1640.     gxDanishLanguage
  1641.     gxPortugueseLanguage
  1642.     gxNorwegianLanguage
  1643.     gxHebrewLanguage
  1644.     gxJapaneseLanguage
  1645.     gxArabicLanguage
  1646.     gxFinnishLanguage
  1647.     gxGreekLanguage
  1648.     gxIcelandicLanguage
  1649.     gxMalteseLanguage
  1650.     gxTurkishLanguage
  1651.     gxCroatianLanguage
  1652.     gxTradChineseLanguage
  1653.     gxUrduLanguage
  1654.     gxHindiLanguage
  1655.     gxThaiLanguage
  1656.     gxKoreanLanguage
  1657.     gxLithuanianLanguage
  1658.     gxPolishLanguage
  1659.     gxHungarianLanguage
  1660.     gxEstonianLanguage
  1661.     gxLettishLanguage
  1662.     gxLatvianLanguage
  1663.     gxSaamiskLanguage
  1664.     gxLappishLanguage
  1665.     gxFaeroeseLanguage
  1666.     gxFarsiLanguage
  1667.     gxPersianLanguage
  1668.     gxRussianLanguage
  1669.     gxSimpChineseLanguage
  1670.     gxFlemishLanguage
  1671.     gxIrishLanguage
  1672.     gxAlbanianLanguage
  1673.     gxRomanianLanguage
  1674.     gxCzechLanguage
  1675.     gxSlovakLanguage
  1676.     gxSlovenianLanguage
  1677.     gxYiddishLanguage
  1678.     gxSerbianLanguage
  1679.     gxMacedonianLanguage
  1680.     gxBulgarianLanguage
  1681.     gxUkrainianLanguage
  1682.     gxByelorussianLanguage
  1683.     gxUzbekLanguage
  1684.     gxKazakhLanguage
  1685.     gxAzerbaijaniLanguage
  1686.     gxAzerbaijanArLanguage
  1687.     gxArmenianLanguage
  1688.     gxGeorgianLanguage
  1689.     gxMoldavianLanguage
  1690.     gxKirghizLanguage
  1691.     gxTajikiLanguage
  1692.     gxTurkmenLanguage
  1693.     gxMongolianLanguage
  1694.     gxMongolianCyrLanguage
  1695.     gxPashtoLanguage
  1696.     gxKurdishLanguage
  1697.     gxKashmiriLanguage
  1698.     gxSindhiLanguage
  1699.     gxTibetanLanguage
  1700.     gxNepaliLanguage
  1701.     gxSanskritLanguage
  1702.     gxMarathiLanguage
  1703.     gxBengaliLanguage
  1704.     gxAssameseLanguage
  1705.     gxGujaratiLanguage
  1706.     gxPunjabiLanguage
  1707.     gxOriyaLanguage
  1708.     gxMalayalamLanguage
  1709.     gxKannadaLanguage
  1710.     gxTamilLanguage
  1711.     gxTeluguLanguage
  1712.     gxSinhaleseLanguage
  1713.     gxBurmeseLanguage
  1714.     gxKhmerLanguage,
  1715.     gxLaoLanguage
  1716.     gxVietnameseLanguage 
  1717.     gxIndonesianLanguage
  1718.     gxTagalogLanguage
  1719.     gxMalayRomanLanguage
  1720.     gxMalayArabicLanguage
  1721.     gxAmharicLanguage
  1722.     gxTigrinyaLanguage
  1723.     gxGallaLanguage
  1724.     gxOromoLanguage
  1725.     gxSomaliLanguage
  1726.     gxSwahiliLanguage
  1727.     gxRuandaLanguage
  1728.     gxRundiLanguage
  1729.     gxChewaLanguage
  1730.     gxMalagasyLanguage
  1731.     gxEsperantoLanguage
  1732.     gxWelshLanguage
  1733.     gxBasqueLanguage
  1734.     gxCatalanLanguage
  1735.     gxLatinLanguage
  1736.     gxQuechuaLanguage
  1737.     gxGuaraniLanguage
  1738.     gxAymaraLanguage
  1739.     gxTatarLanguage
  1740.     gxUighurLanguage
  1741.     gxDzongkhaLanguage
  1742.     gxJavaneseRomLanguage
  1743.     gxSundaneseRomLanguage
  1744.     gxLastMacintoshLanguage
  1745.     gxLastCustomLanguage
  1746. æFc Font Types.h
  1747. æT constant
  1748. æD
  1749. enum gxFontLanguages {
  1750.     gxEnglishLanguage = 1,
  1751.     gxFrenchLanguage,
  1752.     gxGermanLanguage,
  1753.     gxItalianLanguage,
  1754.     gxDutchLanguage,
  1755.     gxSwedishLanguage,
  1756.     gxSpanishLanguage,
  1757.     gxDanishLanguage,
  1758.     gxPortugueseLanguage,
  1759.     gxNorwegianLanguage,
  1760.     gxHebrewLanguage,
  1761.     gxJapaneseLanguage,
  1762.     gxArabicLanguage,
  1763.     gxFinnishLanguage,
  1764.     gxGreekLanguage,
  1765.     gxIcelandicLanguage,
  1766.     gxMalteseLanguage,
  1767.     gxTurkishLanguage,
  1768.     gxCroatianLanguage,
  1769.     gxTradChineseLanguage,
  1770.     gxUrduLanguage,
  1771.     gxHindiLanguage,
  1772.     gxThaiLanguage,
  1773.     gxKoreanLanguage,
  1774.     gxLithuanianLanguage,
  1775.     gxPolishLanguage,
  1776.     gxHungarianLanguage,
  1777.     gxEstonianLanguage,
  1778.     gxLettishLanguage,
  1779.     gxLatvianLanguage = gxLettishLanguage,
  1780.     gxSaamiskLanguage,
  1781.     gxLappishLanguage = gxSaamiskLanguage,
  1782.     gxFaeroeseLanguage,
  1783.     gxFarsiLanguage,
  1784.     gxPersianLanguage = gxFarsiLanguage,
  1785.     gxRussianLanguage,
  1786.     gxSimpChineseLanguage,
  1787.     gxFlemishLanguage,
  1788.     gxIrishLanguage,
  1789.     gxAlbanianLanguage,
  1790.     gxRomanianLanguage,
  1791.     gxCzechLanguage,
  1792.     gxSlovakLanguage,
  1793.     gxSlovenianLanguage,
  1794.     gxYiddishLanguage,
  1795.     gxSerbianLanguage,
  1796.     gxMacedonianLanguage, 
  1797.     gxBulgarianLanguage,
  1798.     gxUkrainianLanguage,
  1799.     gxByelorussianLanguage,
  1800.     gxUzbekLanguage,
  1801.     gxKazakhLanguage,
  1802.     gxAzerbaijaniLanguage,
  1803.     gxAzerbaijanArLanguage,
  1804.     gxArmenianLanguage,
  1805.     gxGeorgianLanguage,
  1806.     gxMoldavianLanguage,
  1807.     gxKirghizLanguage,
  1808.     gxTajikiLanguage,
  1809.     gxTurkmenLanguage,
  1810.     gxMongolianLanguage,
  1811.     gxMongolianCyrLanguage,
  1812.     gxPashtoLanguage,
  1813.     gxKurdishLanguage,
  1814.     gxKashmiriLanguage,
  1815.     gxSindhiLanguage,
  1816.     gxTibetanLanguage,
  1817.     gxNepaliLanguage,
  1818.     gxSanskritLanguage,
  1819.     gxMarathiLanguage,
  1820.     gxBengaliLanguage,
  1821.     gxAssameseLanguage,
  1822.     gxGujaratiLanguage,
  1823.     gxPunjabiLanguage,
  1824.     gxOriyaLanguage,
  1825.     gxMalayalamLanguage,
  1826.     gxKannadaLanguage,
  1827.     gxTamilLanguage,
  1828.     gxTeluguLanguage, 
  1829.     gxSinhaleseLanguage,
  1830.     gxBurmeseLanguage,
  1831.     gxKhmerLanguage,
  1832.     gxLaoLanguage,
  1833.     gxVietnameseLanguage, 
  1834.     gxIndonesianLanguage,
  1835.     gxTagalogLanguage,
  1836.     gxMalayRomanLanguage,
  1837.     gxMalayArabicLanguage,
  1838.     gxAmharicLanguage,
  1839.     gxTigrinyaLanguage,
  1840.     gxGallaLanguage,
  1841.     gxOromoLanguage = gxGallaLanguage,
  1842.     gxSomaliLanguage,
  1843.     gxSwahiliLanguage,
  1844.     gxRuandaLanguage,
  1845.     gxRundiLanguage,
  1846.     gxChewaLanguage,
  1847.     gxMalagasyLanguage,
  1848.     gxEsperantoLanguage,
  1849.     gxWelshLanguage = 129,
  1850.     gxBasqueLanguage,
  1851.     gxCatalanLanguage,
  1852.     gxLatinLanguage,
  1853.     gxQuechuaLanguage,
  1854.     gxGuaraniLanguage,
  1855.     gxAymaraLanguage,
  1856.     gxTatarLanguage,
  1857.     gxUighurLanguage,
  1858.     gxDzongkhaLanguage,
  1859.     gxJavaneseRomLanguage,
  1860.     gxSundaneseRomLanguage
  1861. };
  1862.  
  1863. #define gxLastCustomLanguage    256
  1864.  
  1865. typedef long gxFontLanguage;
  1866.  
  1867. æKY gxFontNames
  1868.     gxCopyrightFontName
  1869.     gxFamilyFontName
  1870.     gxStyleFontName
  1871.     gxUniqueFontName
  1872.     gxFullFontName
  1873.     gxVersionFontName
  1874.     gxPostscriptFontName
  1875.     gxTrademarkFontName
  1876.     gxManufacturerFontName
  1877.     gxLastReservedFontName
  1878.     gxFontName
  1879. æFc Font Types.h
  1880. æT constant
  1881. æD
  1882. enum gxFontNames {
  1883.     gxCopyrightFontName = 1,
  1884.     gxFamilyFontName,
  1885.     gxStyleFontName,
  1886.     gxUniqueFontName,
  1887.     gxFullFontName,
  1888.     gxVersionFontName,
  1889.     gxPostscriptFontName,
  1890.     gxTrademarkFontName,
  1891.     gxManufacturerFontName,
  1892.     gxLastReservedFontName = 256
  1893. };
  1894.  
  1895. typedef long gxFontName;
  1896.  
  1897. æKY gxFontTableTag
  1898. æFc Font Types.h
  1899. æT structure
  1900. æD
  1901. typedef long gxFontTableTag;
  1902.  
  1903. æKY gxFontFormatTag
  1904. æFc Font Types.h
  1905. æT structure
  1906. æD
  1907. typedef long gxFontFormatTag;
  1908.  
  1909. æKY gxFontStorageTag
  1910. æFc Font Types.h
  1911. æT structure
  1912. æD
  1913. typedef long gxFontStorageTag;
  1914.  
  1915. æKY gxFontDescriptorTag
  1916.     gxFontDescriptor
  1917. æFc Font Types.h
  1918. æT structure
  1919. æD
  1920. typedef gxFontVariationTag gxFontDescriptorTag;
  1921. typedef struct gxFontVariation gxFontDescriptor;
  1922.  
  1923. æKY gxFontVariationTag
  1924.     gxFontVariation
  1925. æFc Font Types.h
  1926. æT structure
  1927. æD
  1928. typedef long gxFontVariationTag;
  1929.  
  1930. struct gxFontVariation {
  1931.     gxFontVariationTag    name;
  1932.     Fixed                value;
  1933. };
  1934.  
  1935. typedef struct gxFontVariation gxFontVariation;
  1936.  
  1937. æKY gxFontFeatureSetting
  1938.     gxFontFeatureFlag
  1939.     gxFontFeature
  1940.     gxMutuallyExclusiveFeature
  1941. æFc Font Types.h
  1942. æT structure
  1943. æD
  1944. struct gxFontFeatureSetting {
  1945.     unsigned short    setting;
  1946.     unsigned short    nameID;
  1947. };
  1948.  
  1949. typedef long gxFontFeatureFlag;
  1950. typedef long gxFontFeature;
  1951. typedef struct gxFontFeatureSetting gxFontFeatureSetting;
  1952.  
  1953. #define gxMutuallyExclusiveFeature    0x00008000
  1954.  
  1955. æKY gxFontAttributes
  1956.     gxSystemFontAttribute
  1957.     gxReadOnlyFontAttribute
  1958.     gxAllFontAttributes
  1959.     gxFontAttribute
  1960. æFc Font Types.h
  1961. æT constant
  1962. æD
  1963. enum gxFontAttributes {
  1964.     gxSystemFontAttribute    = 0x0001,
  1965.     gxReadOnlyFontAttribute    = 0x0002
  1966. };
  1967.  
  1968. typedef long gxFontAttribute;
  1969.  
  1970. æKY gxResourceFontStorage
  1971.     gxHandleFontStorage
  1972.     gxFileFontStorage
  1973.     gxNfntFontStorage
  1974. æFc Font Types.h
  1975. æT constant
  1976. æD
  1977. #define gxResourceFontStorage    0x72737263    /* 'rsrc' */
  1978. #define gxHandleFontStorage        0x686e646c    /* 'hndl' */
  1979. #define gxFileFontStorage        0x62617373    /* 'bass' */
  1980. #define gxNfntFontStorage        0x6e666e74    /* 'nfnt' */
  1981.  
  1982. æKY gxFontStorageReference
  1983. æFc Font Types.h
  1984. æT structure
  1985. æD
  1986. typedef void *gxFontStorageReference;
  1987.  
  1988. æKY gxValidationLevels
  1989.     gxNoValidation
  1990.     gxPublicValidation
  1991.     gxInternalValidation
  1992.     gxTypeValidation
  1993.     gxStructureValidation
  1994.     gxAllObjectValidation
  1995.     gxNoMemoryManagerValidation
  1996.     gxApBlockValidation
  1997.     gxFontBlockValidation
  1998.     gxApHeapValidation
  1999.     gxFontHeapValidation
  2000.     gxCheckApHeapValidation
  2001.     gxCheckFontHeapValidation
  2002.     gxValidationLevel
  2003. æFc Graphics Debugging.h
  2004. æT constant
  2005. æD
  2006. enum gxValidationLevels {
  2007.  
  2008. /* These levels tell how to validate routines.  Choose one. */
  2009.     gxNoValidation                = 0x00,        /* no validation */
  2010.     gxPublicValidation            = 0x01,        /* check parameters to public routines */
  2011.     gxInternalValidation        = 0x02,        /* check parameters to internal routines */
  2012.  
  2013. /* These levels tell how to validate types.  Choose one. */
  2014.     gxTypeValidation            = 0x00,        /* check types of objects */
  2015.     gxStructureValidation        = 0x10,        /* check fields of private structures */
  2016.     gxAllObjectValidation        = 0x20,        /* check every object over every call */
  2017.  
  2018. /* These levels tell how to validate memory manager blocks.  Choose any combination. */
  2019.     gxNoMemoryManagerValidation    = 0x0000,
  2020.     gxApBlockValidation               = 0x0100,    /* check the relevant block structures after each memory mgr. call */
  2021.     gxFontBlockValidation        = 0x0200,    /* check the system gxHeap as well */
  2022.     gxApHeapValidation            = 0x0400,    /* check the memory manager’s gxHeap after every mem. call */
  2023.     gxFontHeapValidation        = 0x0800,    /* check the system gxHeap as well */
  2024.     gxCheckApHeapValidation           = 0x1000,    /* check the memory manager’s gxHeap if checking routine parameters */
  2025.     gxCheckFontHeapValidation    = 0x2000    /* check the system gxHeap as well */
  2026. } ;
  2027.  
  2028. typedef long gxValidationLevel;
  2029.  
  2030. æKY gxDrawErrors
  2031.     DebuggingErrors
  2032.     GXDebuggingErrors
  2033.     no_draw_error
  2034.     shape_emptyType
  2035.     shape_inverse_fullType
  2036.     rectangle_zero_width
  2037.     rectangle_zero_height
  2038.     polygon_empty
  2039.     path_empty
  2040.     bitmap_zero_width
  2041.     bitmap_zero_height
  2042.     text_empty
  2043.     glyph_empty
  2044.     layout_empty
  2045.     picture_empty
  2046.     shape_no_fill
  2047.     shape_no_enclosed_area
  2048.     shape_no_enclosed_pixels
  2049.     shape_very_small
  2050.     shape_very_large
  2051.     shape_contours_cancel
  2052.     pen_too_small
  2053.     text_size_too_small
  2054.     dash_empty
  2055.     start_cap_empty
  2056.     pattern_empty
  2057.     textFace_empty
  2058.     shape_primitive_empty
  2059.     shape_primitive_very_small
  2060.     transfer_equals_noMode
  2061.     transfer_matrix_ignores_source
  2062.     transfer_matrix_ignores_device
  2063.     transfer_source_reject
  2064.     transfer_mode_ineffective
  2065.     colorSet_no_entries
  2066.     bitmap_colorSet_one_entry
  2067.     transform_scale_too_small
  2068.     transform_map_too_large
  2069.     transform_move_too_large
  2070.     transform_scale_too_large
  2071.     transform_rotate_too_large
  2072.     transform_perspective_too_large
  2073.     transform_skew_too_large
  2074.     transform_clip_no_intersection
  2075.     transform_clip_empty
  2076.     transform_no_viewPorts
  2077.     viewPort_disposed
  2078.     viewPort_clip_empty
  2079.     viewPort_clip_no_intersection
  2080.     viewPort_scale_too_small
  2081.     viewPort_map_too_large
  2082.     viewPort_move_too_large
  2083.     viewPort_scale_too_large
  2084.     viewPort_rotate_too_large
  2085.     viewPort_perspective_too_large
  2086.     viewPort_skew_too_large
  2087.     viewPort_viewGroup_offscreen
  2088.     viewDevice_clip_no_intersection
  2089.     viewDevice_scale_too_small
  2090.     viewDevice_map_too_large
  2091.     viewDevice_move_too_large
  2092.     viewDevice_scale_too_large
  2093.     viewDevice_rotate_too_large
  2094.     viewDevice_perspective_too_large
  2095.     viewDevice_skew_too_large
  2096.     gxDrawError
  2097. æFc Graphics Debugging.h
  2098. æT constant
  2099. æD
  2100. enum gxDrawErrors {
  2101.     no_draw_error,
  2102.  
  2103.     /* gxShape type errors */
  2104.     shape_emptyType,
  2105.     shape_inverse_fullType,
  2106.     rectangle_zero_width,
  2107.     rectangle_zero_height,
  2108.     polygon_empty,
  2109.     path_empty,
  2110.     bitmap_zero_width,
  2111.     bitmap_zero_height,
  2112.     text_empty,
  2113.     glyph_empty,
  2114.     layout_empty,
  2115.     picture_empty,
  2116.  
  2117.     /* general gxShape errors */
  2118.     shape_no_fill,
  2119.     shape_no_enclosed_area,
  2120.     shape_no_enclosed_pixels,
  2121.     shape_very_small,
  2122.     shape_very_large,
  2123.     shape_contours_cancel,
  2124.  
  2125.     /* gxStyle errors */
  2126.     pen_too_small,
  2127.     text_size_too_small,
  2128.     dash_empty,
  2129.     start_cap_empty,
  2130.     pattern_empty,
  2131.     textFace_empty,
  2132.     shape_primitive_empty,
  2133.     shape_primitive_very_small,
  2134.  
  2135.     /* gxInk errors */
  2136.     transfer_equals_noMode,
  2137.     transfer_matrix_ignores_source,
  2138.     transfer_matrix_ignores_device,
  2139.     transfer_source_reject,
  2140.     transfer_mode_ineffective,
  2141.     colorSet_no_entries,
  2142.     bitmap_colorSet_one_entry,
  2143.  
  2144.     /* gxTransform errors */
  2145.     transform_scale_too_small,
  2146.     transform_map_too_large,
  2147.     transform_move_too_large,
  2148.     transform_scale_too_large,
  2149.     transform_rotate_too_large,
  2150.     transform_perspective_too_large,
  2151.     transform_skew_too_large,
  2152.     transform_clip_no_intersection,
  2153.     transform_clip_empty,
  2154.     transform_no_viewPorts,
  2155.  
  2156.     /* gxViewPort errors */
  2157.     viewPort_disposed,
  2158.     viewPort_clip_empty,
  2159.     viewPort_clip_no_intersection,
  2160.     viewPort_scale_too_small,
  2161.     viewPort_map_too_large,
  2162.     viewPort_move_too_large,
  2163.     viewPort_scale_too_large,
  2164.     viewPort_rotate_too_large,
  2165.     viewPort_perspective_too_large,
  2166.     viewPort_skew_too_large,
  2167.     viewPort_viewGroup_offscreen,
  2168.  
  2169.     /* gxViewDevice errors */
  2170.     viewDevice_clip_no_intersection,
  2171.     viewDevice_scale_too_small,
  2172.     viewDevice_map_too_large,
  2173.     viewDevice_move_too_large,
  2174.     viewDevice_scale_too_large,
  2175.     viewDevice_rotate_too_large,
  2176.     viewDevice_perspective_too_large,
  2177.     viewDevice_skew_too_large
  2178. };
  2179.  
  2180. typedef long gxDrawError;
  2181.  
  2182. æKY gxUserDebugFunction
  2183. æFc Graphics Debugging.h
  2184. æT structure
  2185. æD
  2186. typedef boolean (*gxUserDebugFunction) (const char *str, long message, long reference);
  2187.  
  2188. æKY GXGetShapeDrawError
  2189. æFc Graphics Debugging.h
  2190. æT function
  2191. æD
  2192. gxDrawError GXGetShapeDrawError(gxShape source)
  2193.     GXInlineCode(0x1ee, gxNeedClient|gxNeedHeap|gxNeedStack);
  2194.  
  2195. æKY GXValidateAll
  2196. æFc Graphics Debugging.h
  2197. æT function
  2198. æD
  2199. void GXValidateAll(void)
  2200.     GXInlineCode(0x1ef, gxNeedClient|gxNeedHeap|gxNeedStack);
  2201.  
  2202. æKY GXValidateColorSet
  2203. æFc Graphics Debugging.h
  2204. æT function
  2205. æD
  2206. void GXValidateColorSet(gxColorSet)
  2207.     GXInlineCode(0x1f0, gxNeedClient|gxNeedHeap|gxNeedStack);
  2208.  
  2209. æKY GXValidateColorProfile
  2210. æFc Graphics Debugging.h
  2211. æT function
  2212. æD
  2213. void GXValidateColorProfile(gxColorProfile)
  2214.     GXInlineCode(0x1f1, gxNeedClient|gxNeedHeap|gxNeedStack);
  2215.  
  2216. æKY GXValidateGraphicsClient
  2217. æFc Graphics Debugging.h
  2218. æT function
  2219. æD
  2220. void GXValidateGraphicsClient(gxGraphicsClient)
  2221.     GXInlineCode(0x1f2, gxAnyContext);
  2222.  
  2223. æKY GXValidateInk
  2224. æFc Graphics Debugging.h
  2225. æT function
  2226. æD
  2227. void GXValidateInk(gxInk)
  2228.     GXInlineCode(0x1f3, gxNeedClient|gxNeedHeap|gxNeedStack);
  2229.  
  2230. æKY GXValidateShape
  2231. æFc Graphics Debugging.h
  2232. æT function
  2233. æD
  2234. void GXValidateShape(gxShape)
  2235.     GXInlineCode(0x1f4, gxNeedClient|gxNeedHeap|gxNeedStack);
  2236.  
  2237. æKY GXValidateStyle
  2238. æFc Graphics Debugging.h
  2239. æT function
  2240. æD
  2241. void GXValidateStyle(gxStyle)
  2242.     GXInlineCode(0x1f5, gxNeedClient|gxNeedHeap|gxNeedStack);
  2243.  
  2244. æKY GXValidateTag
  2245. æFc Graphics Debugging.h
  2246. æT function
  2247. æD
  2248. void GXValidateTag(gxTag)
  2249.     GXInlineCode(0x1f6, gxNeedClient|gxNeedHeap|gxNeedStack);
  2250.  
  2251. æKY GXValidateTransform
  2252. æFc Graphics Debugging.h
  2253. æT function
  2254. æD
  2255. void GXValidateTransform(gxTransform)
  2256.     GXInlineCode(0x1f7, gxNeedClient|gxNeedHeap|gxNeedStack);
  2257.  
  2258. æKY GXValidateViewDevice
  2259. æFc Graphics Debugging.h
  2260. æT function
  2261. æD
  2262. void GXValidateViewDevice(gxViewDevice)
  2263.     GXInlineCode(0x1f8, gxNeedClient|gxNeedHeap|gxNeedStack);
  2264.  
  2265. æKY GXValidateViewPort
  2266. æFc Graphics Debugging.h
  2267. æT function
  2268. æD
  2269. void GXValidateViewPort(gxViewPort)
  2270.     GXInlineCode(0x1f9, gxNeedClient|gxNeedHeap|gxNeedStack);
  2271.  
  2272. æKY GXValidateViewGroup
  2273. æFc Graphics Debugging.h
  2274. æT function
  2275. æD
  2276. void GXValidateViewGroup(gxViewGroup)
  2277.     GXInlineCode(0x1fa, gxNeedClient|gxNeedHeap|gxNeedStack);
  2278.  
  2279. æKY GXGetValidation
  2280. æFc Graphics Debugging.h
  2281. æT function
  2282. æD
  2283. gxValidationLevel GXGetValidation(void)
  2284.     GXInlineCode(0x1fb, gxNeedClient);
  2285.  
  2286. æKY GXSetValidation
  2287. æFc Graphics Debugging.h
  2288. æT function
  2289. æD
  2290. void GXSetValidation(gxValidationLevel)
  2291.     GXInlineCode(0x1fc, gxNeedClient);
  2292.  
  2293. æKY GXGetValidationError
  2294. æFc Graphics Debugging.h
  2295. æT function
  2296. æD
  2297. long GXGetValidationError(char *procedureName, void **argument, long *argumentNumber)
  2298.     GXInlineCode(0x1fd, gxNeedClient);
  2299.  
  2300. æKY GXGetGraphicsBugParametersPointer
  2301. æFc Graphics Debugging.h
  2302. æT function
  2303. æD
  2304. boolean GXGetGraphicsBugParametersPointer(struct graphicsBugParameters **blockPointer)
  2305.     GXInlineCode(0x1fe, gxNeedClient|gxNeedHeap|gxNeedStack);
  2306.  
  2307. æKY GXGetUserGraphicsDebug
  2308. æFc Graphics Debugging.h
  2309. æT function
  2310. æD
  2311. gxUserDebugFunction GXGetUserGraphicsDebug(long *reference)
  2312.     GXInlineCode(0x1ff, gxAnyContext);
  2313.  
  2314. æKY GXSetUserGraphicsDebug
  2315. æFc Graphics Debugging.h
  2316. æT function
  2317. æD
  2318. void GXSetUserGraphicsDebug(gxUserDebugFunction userFunction, long reference)
  2319.     GXInlineCode(0x200, gxAnyContext);
  2320.  
  2321. æKY gxFirstSystemError
  2322.     gxFirstFatalError
  2323.     gxLastFatalError
  2324.     gxFirstNonfatalError
  2325.     gxFirstFontScalerError
  2326.     gxLastFontScalerError
  2327.     gxFirstParameterError
  2328.     gxFirstImplementationLimitError
  2329.     gxFirstSystemDebuggingError
  2330.     gxLastSystemError
  2331.     gxFirstLibraryError
  2332.     gxLastLibraryError
  2333.     gxFirstAppError
  2334.     gxLastAppError
  2335.     gxFirstSystemWarning
  2336.     gxFirstResultOutOfRangeWarning
  2337.     gxFirstParameterOutOfRangeWarning
  2338.     gxFirstFontScalerWarning
  2339.     gxFirstSystemDebuggingWarning
  2340.     gxLastSystemWarning
  2341.     gxFirstLibraryWarning
  2342.     gxLastLibraryWarning
  2343.     gxFirstAppWarning
  2344.     gxLastAppWarning
  2345.     gxFirstSystemNotice
  2346.     gxLastSystemNotice
  2347.     gxFirstLibraryNotice
  2348.     gxLastLibraryNotice
  2349.     gxFirstAppNotice
  2350.     gxLastAppNotice
  2351. æFc Graphics Errors.h
  2352. æT constant
  2353. æD
  2354. #define gxFirstSystemError                    -27999        /* 0xffff92a1 */
  2355. #define gxFirstFatalError                    -27999
  2356. #define gxLastFatalError                    -27951
  2357. #define gxFirstNonfatalError                -27950
  2358. #define gxFirstFontScalerError                -27900
  2359. #define gxLastFontScalerError                -27851
  2360. #define gxFirstParameterError                -27850
  2361. #define gxFirstImplementationLimitError        -27800
  2362. #define gxFirstSystemDebuggingError            -27700
  2363. #define gxLastSystemError                    -27000        /* 0xffff9688 */
  2364. #define gxFirstLibraryError                    1048576        /* 0x00100000 */
  2365. #define gxLastLibraryError                    2097151        /* 0x001fffff */
  2366. #define gxFirstAppError                        2097152        /* 0x00200000 */
  2367. #define gxLastAppError                        4194303        /* 0x003fffff */
  2368.  
  2369. #define gxFirstSystemWarning                -26999    /* 0xffff9689 */
  2370. #define gxFirstResultOutOfRangeWarning        -26950
  2371. #define gxFirstParameterOutOfRangeWarning    -26900
  2372. #define gxFirstFontScalerWarning            -26850
  2373. #define gxFirstSystemDebuggingWarning        -26700
  2374. #define gxLastSystemWarning                    -26000        /* 0xffff9a70 */
  2375. #define gxFirstLibraryWarning                4194304        /* 0x00400000 */
  2376. #define gxLastLibraryWarning                5242879        /* 0x004fffff */
  2377. #define gxFirstAppWarning                    5242880        /* 0x00500000 */
  2378. #define gxLastAppWarning                    7340031        /* 0x006fffff */
  2379.  
  2380. #define gxFirstSystemNotice                    -25999        /* 0xffff9a71 */
  2381. #define gxLastSystemNotice                    -25500        /* 0xffff9c64 */
  2382. #define gxFirstLibraryNotice                7340032        /* 0x00700000 */
  2383. #define gxLastLibraryNotice                    7602175        /* 0x0073ffff */
  2384. #define gxFirstAppNotice                    7602176        /* 0x00740000 */
  2385. #define gxLastAppNotice                        8388607        /* 0x007fffff */
  2386.  
  2387. æKY GraphicsErrors
  2388.     GXGraphicsErrors
  2389.     out_of_memory
  2390.     internal_fatal_error
  2391.     no_outline_font_found
  2392.     not_enough_memory_for_graphics_client_heap
  2393.     could_not_create_backing_store
  2394.     internal_error = gxFirstNonfatalError
  2395.     internal_font_error
  2396.     internal_layout_error
  2397.     could_not_dispose_backing_store
  2398.     unflattening_interrupted_by_client
  2399.     font_cannot_be_changed
  2400.     illegal_font_parameter
  2401.     null_font_scaler_context
  2402.     null_font_scaler_input
  2403.     invalid_font_scaler_context
  2404.     invalid_font_scaler_input
  2405.     invalid_font_scaler_font_data
  2406.     font_scaler_newblock_failed
  2407.     font_scaler_getfonttable_failed
  2408.     font_scaler_bitmap_allocation_failed
  2409.     font_scaler_outline_allocation_failed
  2410.     required_font_scaler_table_missing
  2411.     unsupported_font_scaler_outline_format
  2412.     unsupported_font_scaler_stream_format
  2413.     unsupported_font_scaler_font_format
  2414.     font_scaler_hinting_error
  2415.     font_scaler_rasterizer_error
  2416.     font_scaler_internal_error
  2417.     font_scaler_invalid_matrix
  2418.     font_scaler_fixed_overflow
  2419.     font_scaler_api_version_mismatch
  2420.     font_scaler_streaming_aborted
  2421.     unknown_font_scaler_error
  2422.     parameter_is_nil
  2423.     shape_is_nil
  2424.     style_is_nil
  2425.     transform_is_nil
  2426.     ink_is_nil
  2427.     transferMode_is_nil
  2428.     color_is_nil
  2429.     colorProfile_is_nil
  2430.     colorSet_is_nil
  2431.     spoolProcedure_is_nil
  2432.     tag_is_nil
  2433.     type_is_nil
  2434.     mapping_is_nil
  2435.     invalid_viewDevice_reference
  2436.     invalid_viewGroup_reference
  2437.     invalid_viewPort_reference
  2438.     number_of_contours_exceeds_implementation_limit
  2439.     number_of_points_exceeds_implementation_limit
  2440.     size_of_polygon_exceeds_implementation_limit
  2441.     size_of_path_exceeds_implementation_limit
  2442.     size_of_text_exceeds_implementation_limit
  2443.     size_of_bitmap_exceeds_implementation_limit
  2444.     number_of_colors_exceeds_implementation_limit
  2445.     procedure_not_reentrant
  2446.     common_colors_not_initialized
  2447.     no_open_picture
  2448.     picture_already_open
  2449.     no_open_poly
  2450.     poly_already_open
  2451.     no_open_region
  2452.     region_already_open
  2453.     no_active_picture
  2454.     gxGraphicsError
  2455. æFc Graphics Errors.h
  2456. æT constant
  2457. æD
  2458. enum gxGraphicErrors {
  2459.  
  2460.     /* truly fatal errors */
  2461.     out_of_memory = gxFirstFatalError,
  2462.     internal_fatal_error,
  2463.     no_outline_font_found,
  2464.     not_enough_memory_for_graphics_client_heap,
  2465.     could_not_create_backing_store,
  2466.  
  2467.     /* internal errors */
  2468.     internal_error = gxFirstNonfatalError,
  2469.     internal_font_error,
  2470.     internal_layout_error,
  2471.  
  2472.     /* recoverable errors */
  2473.     could_not_dispose_backing_store = internal_layout_error + 2,
  2474.     unflattening_interrupted_by_client,
  2475.  
  2476.     /* font manager errors */
  2477.     font_cannot_be_changed,
  2478.     illegal_font_parameter,
  2479.  
  2480.     /* gxFont scaler errors */
  2481.     null_font_scaler_context = gxFirstFontScalerError,
  2482.     null_font_scaler_input,
  2483.     invalid_font_scaler_context,
  2484.     invalid_font_scaler_input,
  2485.     invalid_font_scaler_font_data,
  2486.     font_scaler_newblock_failed,
  2487.     font_scaler_getfonttable_failed,
  2488.     font_scaler_bitmap_allocation_failed,
  2489.     font_scaler_outline_allocation_failed,
  2490.     required_font_scaler_table_missing,
  2491.     unsupported_font_scaler_outline_format,
  2492.     unsupported_font_scaler_stream_format,
  2493.     unsupported_font_scaler_font_format,
  2494.     font_scaler_hinting_error,
  2495.     font_scaler_rasterizer_error,
  2496.     font_scaler_internal_error,
  2497.     font_scaler_invalid_matrix,
  2498.     font_scaler_fixed_overflow,
  2499.     font_scaler_api_version_mismatch,
  2500.     font_scaler_streaming_aborted,
  2501.     unknown_font_scaler_error,
  2502.  
  2503.     /* bad parameters */
  2504.     parameter_is_nil = gxFirstParameterError,
  2505.     shape_is_nil,
  2506.     style_is_nil,
  2507.     transform_is_nil,
  2508.     ink_is_nil,
  2509.     transferMode_is_nil,
  2510.     color_is_nil,
  2511.     colorProfile_is_nil,
  2512.     colorSet_is_nil,
  2513.     spoolProcedure_is_nil,
  2514.     tag_is_nil,
  2515.     type_is_nil,
  2516.     mapping_is_nil,
  2517.     invalid_viewDevice_reference,
  2518.     invalid_viewGroup_reference,
  2519.     invalid_viewPort_reference,
  2520.     
  2521.     /*    implementation limits, these should be right before the debugging errors */
  2522.     number_of_contours_exceeds_implementation_limit = gxFirstImplementationLimitError,
  2523.     number_of_points_exceeds_implementation_limit,
  2524.     size_of_polygon_exceeds_implementation_limit,
  2525.     size_of_path_exceeds_implementation_limit,
  2526.     size_of_text_exceeds_implementation_limit,
  2527.     size_of_bitmap_exceeds_implementation_limit,
  2528.     number_of_colors_exceeds_implementation_limit,
  2529.     procedure_not_reentrant
  2530. };
  2531.  
  2532. #define common_colors_not_initialized    gxFirstLibraryError
  2533. #define no_open_picture                    (gxFirstLibraryError + 1)
  2534. #define picture_already_open            (gxFirstLibraryError + 2)
  2535. #define no_open_poly                    (gxFirstLibraryError + 3)
  2536. #define poly_already_open                (gxFirstLibraryError + 4)
  2537. #define no_open_region                    (gxFirstLibraryError + 5)
  2538. #define region_already_open                (gxFirstLibraryError + 6)
  2539. #define no_active_picture                (gxFirstLibraryError + 7)
  2540.  
  2541. typedef long gxGraphicsError;
  2542.  
  2543. æKY gxGraphicWarnings
  2544.     GraphicWarnings
  2545.     GraphicsWarnings
  2546.     gxGraphicsWarnings
  2547.     warning_stack_underflow
  2548.     warning_stack_overflow
  2549.     notice_stack_underflow
  2550.     notice_stack_overflow
  2551.     about_to_grow_heap
  2552.     about_to_unload_objects
  2553.     map_shape_out_of_range
  2554.     move_shape_out_of_range
  2555.     scale_shape_out_of_range
  2556.     rotate_shape_out_of_range
  2557.     skew_shape_out_of_range
  2558.     map_transform_out_of_range
  2559.     move_transform_out_of_range
  2560.     scale_transform_out_of_range
  2561.     rotate_transform_out_of_range
  2562.     skew_transform_out_of_range
  2563.     map_points_out_of_range
  2564.     contour_out_of_range
  2565.     index_out_of_range_in_contour
  2566.     picture_index_out_of_range
  2567.     color_index_requested_not_found
  2568.     colorSet_index_out_of_range
  2569.     index_out_of_range
  2570.     count_out_of_range
  2571.     length_out_of_range
  2572.     font_table_index_out_of_range
  2573.     font_glyph_index_out_of_range
  2574.     point_out_of_range
  2575.     profile_response_out_of_range
  2576.     font_scaler_no_output
  2577.     font_scaler_fake_metrics
  2578.     font_scaler_fake_linespacing
  2579.     font_scaler_glyph_substitution
  2580.     font_scaler_no_kerning_applied
  2581.     character_substitution_took_place
  2582.     unable_to_get_bounds_on_multiple_devices
  2583.     font_language_not_found
  2584.     font_not_found_during_unflattening
  2585.     unrecognized_stream_version
  2586.     bad_data_in_stream
  2587.     no_picture_drawn
  2588.     polygons_have_different_size_contours
  2589.     graphic_type_cannot_be_specifed_by_four_values
  2590.     graphic_type_cannot_be_specifed_by_six_values
  2591.     point_expected
  2592.     line_or_rectangle_expected
  2593.     curve_expected
  2594.     graphic_type_does_not_contain_control_bits
  2595.     request_exceeds_available_data
  2596.     extra_data_unread
  2597.     no_variable_length_user_data_saved
  2598.     gxGraphicsWarning
  2599. æFc Graphics Errors.h
  2600. æT constant
  2601. æD
  2602. enum gxGraphicWarnings {
  2603.     /* warnings about warnings */
  2604.     warning_stack_underflow = gxFirstSystemWarning,
  2605.     warning_stack_overflow,
  2606.     notice_stack_underflow,
  2607.     notice_stack_overflow,
  2608.     about_to_grow_heap,
  2609.     about_to_unload_objects,
  2610.  
  2611.     /* result went out of range */
  2612.     map_shape_out_of_range = gxFirstResultOutOfRangeWarning,
  2613.     move_shape_out_of_range,
  2614.     scale_shape_out_of_range,
  2615.     rotate_shape_out_of_range,
  2616.     skew_shape_out_of_range,
  2617.     map_transform_out_of_range,
  2618.     move_transform_out_of_range,
  2619.     scale_transform_out_of_range,
  2620.     rotate_transform_out_of_range,
  2621.     skew_transform_out_of_range,
  2622.     map_points_out_of_range,
  2623.     
  2624.     /* gave a parameter out of range */
  2625.     contour_out_of_range = gxFirstParameterOutOfRangeWarning,
  2626.     index_out_of_range_in_contour,
  2627.     picture_index_out_of_range,
  2628.     color_index_requested_not_found,
  2629.     colorSet_index_out_of_range,
  2630.     index_out_of_range,
  2631.     count_out_of_range,
  2632.     length_out_of_range,
  2633.     font_table_index_out_of_range,
  2634.     font_glyph_index_out_of_range,
  2635.     point_out_of_range,
  2636.     profile_response_out_of_range,
  2637.  
  2638.     /* gxFont scaler warnings */
  2639.     font_scaler_no_output = gxFirstFontScalerWarning,
  2640.     font_scaler_fake_metrics,
  2641.     font_scaler_fake_linespacing,
  2642.     font_scaler_glyph_substitution,
  2643.     font_scaler_no_kerning_applied,
  2644.  
  2645.     /* might not be what you expected */
  2646.     character_substitution_took_place,
  2647.     unable_to_get_bounds_on_multiple_devices,
  2648.     font_language_not_found,
  2649.     font_not_found_during_unflattening,
  2650.  
  2651.     /*storage */
  2652.     unrecognized_stream_version,
  2653.     bad_data_in_stream
  2654. };
  2655.  
  2656. #define no_picture_drawn                                 gxFirstLibraryWarning
  2657. #define polygons_have_different_size_contours            (gxFirstLibraryWarning + 1)
  2658. #define graphic_type_cannot_be_specifed_by_four_values    (gxFirstLibraryWarning + 2)
  2659. #define graphic_type_cannot_be_specifed_by_six_values    (gxFirstLibraryWarning + 3)
  2660. #define point_expected                                    (gxFirstLibraryWarning + 4)
  2661. #define line_or_rectangle_expected                        (gxFirstLibraryWarning + 5)
  2662. #define curve_expected                                    (gxFirstLibraryWarning + 6)
  2663. #define graphic_type_does_not_contain_control_bits        (gxFirstLibraryWarning + 7)
  2664. #define request_exceeds_available_data                    (gxFirstLibraryWarning + 8)
  2665. #define extra_data_unread                                (gxFirstLibraryWarning + 9)
  2666. #define no_variable_length_user_data_saved                (gxFirstLibraryWarning + 10)
  2667.  
  2668. typedef long gxGraphicsWarning;
  2669.  
  2670. æKY gxGraphicNotices
  2671.     GraphicNotices
  2672.     GraphicsNotices
  2673.     GXGraphicsNotices
  2674.     parameters_have_no_effect
  2675.     attributes_already_set
  2676.     caps_already_set
  2677.     clip_already_set
  2678.     color_already_set
  2679.     curve_error_already_set
  2680.     dash_already_set
  2681.     default_colorProfile_already_set
  2682.     default_ink_already_set
  2683.     default_transform_already_set
  2684.     default_shape_already_set
  2685.     default_style_already_set
  2686.     dither_already_set
  2687.     encoding_already_set
  2688.     face_already_set
  2689.     fill_already_set
  2690.     font_already_set
  2691.     font_variations_already_set
  2692.     glyph_positions_are_already_set
  2693.     glyph_tangents_are_already_set
  2694.     halftone_already_set
  2695.     hit_test_already_set
  2696.     ink_already_set
  2697.     join_already_set
  2698.     justification_already_set
  2699.     mapping_already_set
  2700.     pattern_already_set
  2701.     pen_already_set
  2702.     style_already_set
  2703.     tag_already_set
  2704.     text_attributes_already_set
  2705.     text_size_already_set
  2706.     transfer_already_set
  2707.     translator_already_installed_on_this_grafport
  2708.     transform_already_set
  2709.     type_already_set
  2710.     validation_level_already_set
  2711.     viewPorts_already_set
  2712.     viewPort_already_in_viewGroup
  2713.     viewDevice_already_in_viewGroup
  2714.     geometry_unaffected
  2715.     mapping_unaffected
  2716.     tags_in_shape_ignored
  2717.     shape_already_in_primitive_form
  2718.     shape_already_in_simple_form
  2719.     shape_already_broken
  2720.     shape_already_joined
  2721.     cache_already_cleared
  2722.     shape_not_disposed
  2723.     style_not_disposed
  2724.     ink_not_disposed
  2725.     transform_not_disposed
  2726.     colorSet_not_disposed
  2727.     colorProfile_not_disposed
  2728.     font_not_disposed
  2729.     glyph_tangents_have_no_effect
  2730.     glyph_positions_determined_by_advance
  2731.     transform_viewPorts_already_set
  2732.     directShape_attribute_set_as_side_effect
  2733.     lockShape_called_as_side_effect
  2734.     lockTag_called_as_side_effect
  2735.     shapes_unlocked_as_side_effect
  2736.     shape_not_locked
  2737.     tag_not_locked
  2738.     disposed_dead_caches
  2739.     disposed_live_caches
  2740.     low_on_memory
  2741.     very_low_on_memory
  2742.     transform_references_disposed_viewPort
  2743.     zero_length_string_passed
  2744.     gxGraphicsNotice
  2745. æFc Graphics Errors.h
  2746. æT constant
  2747. æD
  2748. enum gxGraphicNotices {
  2749.     parameters_have_no_effect = gxFirstSystemNotice,
  2750.     attributes_already_set,
  2751.     caps_already_set,
  2752.     clip_already_set,
  2753.     color_already_set,
  2754.     curve_error_already_set,
  2755.     dash_already_set,
  2756.     default_colorProfile_already_set,
  2757.     default_ink_already_set,
  2758.     default_transform_already_set,
  2759.     default_shape_already_set,
  2760.     default_style_already_set,
  2761.     dither_already_set,
  2762.     encoding_already_set,
  2763.     face_already_set,
  2764.     fill_already_set,
  2765.     font_already_set,
  2766.     font_variations_already_set,
  2767.     glyph_positions_are_already_set,
  2768.     glyph_tangents_are_already_set,
  2769.     halftone_already_set,
  2770.     hit_test_already_set,
  2771.     ink_already_set,
  2772.     join_already_set,
  2773.     justification_already_set,
  2774.     mapping_already_set,
  2775.     pattern_already_set,
  2776.     pen_already_set,
  2777.     style_already_set,
  2778.     tag_already_set,
  2779.     text_attributes_already_set,
  2780.     text_size_already_set,
  2781.     transfer_already_set,
  2782.     translator_already_installed_on_this_grafport,
  2783.     transform_already_set,
  2784.     type_already_set,
  2785.     validation_level_already_set,
  2786.     viewPorts_already_set,
  2787.     viewPort_already_in_viewGroup,
  2788.     viewDevice_already_in_viewGroup,
  2789.     
  2790.     geometry_unaffected,
  2791.     mapping_unaffected,
  2792.     tags_in_shape_ignored,
  2793.  
  2794.     shape_already_in_primitive_form,
  2795.     shape_already_in_simple_form,
  2796.     shape_already_broken,
  2797.     shape_already_joined,
  2798.     cache_already_cleared,
  2799.  
  2800.     shape_not_disposed,
  2801.     style_not_disposed,
  2802.     ink_not_disposed,
  2803.     transform_not_disposed,
  2804.     colorSet_not_disposed,
  2805.     colorProfile_not_disposed,
  2806.     font_not_disposed,
  2807.  
  2808.     glyph_tangents_have_no_effect,
  2809.     glyph_positions_determined_by_advance,
  2810.     transform_viewPorts_already_set,
  2811.  
  2812.     directShape_attribute_set_as_side_effect,
  2813.     lockShape_called_as_side_effect,
  2814.     lockTag_called_as_side_effect,
  2815.     shapes_unlocked_as_side_effect,
  2816.     shape_not_locked,
  2817.     tag_not_locked,
  2818.  
  2819.     disposed_dead_caches,
  2820.     disposed_live_caches,
  2821.     low_on_memory,
  2822.     very_low_on_memory,
  2823.  
  2824.     transform_references_disposed_viewPort
  2825. };
  2826.  
  2827. #define zero_length_string_passed    gxFirstLibraryNotice
  2828.  
  2829. typedef long gxGraphicsNotice;
  2830.  
  2831. æKY gxUserErrorProcPtr
  2832.     gxUserErrorFunction
  2833. æFc Graphics Errors.h
  2834. æT structure
  2835. æD
  2836. typedef void (*gxUserErrorProcPtr) (gxGraphicsError status, long refcon );
  2837. typedef gxUserErrorProcPtr gxUserErrorFunction;
  2838.  
  2839. æKY gxUserWarningProcPtr
  2840.     gxUserWarningFunction
  2841. æFc Graphics Errors.h
  2842. æT structure
  2843. æD
  2844. typedef void (*gxUserWarningProcPtr) (gxGraphicsWarning status, long refcon );
  2845. typedef gxUserWarningProcPtr gxUserWarningFunction;
  2846.  
  2847. æKY gxUserNoticeProcPtr
  2848.     gxUserNoticeFunction
  2849. æFc Graphics Errors.h
  2850. æT structure
  2851. æD
  2852. typedef void (*gxUserNoticeProcPtr) (gxGraphicsNotice status, long refcon );
  2853. typedef gxUserNoticeProcPtr gxUserNoticeFunction;
  2854.  
  2855. æKY NilShapeReturn
  2856.     NilShapeReturnNil
  2857.     NilStyleReturn
  2858.     NilStyleReturnNil
  2859.     NilInkReturn
  2860.     NilInkReturnNil
  2861.     NilTransformReturn
  2862.     NilTransformReturnNil
  2863.     NilColorSetReturn
  2864.     NilColorSetReturnNil
  2865.     NilColorProfileReturn
  2866.     NilColorProfileReturnNil
  2867.     NilTagReturn
  2868.     NilTagReturnNil
  2869.     IfDebug
  2870.     IfDebugReturn
  2871.     IfDebugReturnNil
  2872.     NilParamReturn
  2873.     NilParamReturnNil
  2874.     IfErrorReturn
  2875.     IfErrorReturnNil
  2876.     IfNotice
  2877.     IfWarning
  2878.     IfWarningReturn
  2879.     IfWarningReturnNil
  2880. æFc Graphics Libraries.h
  2881. æT macro
  2882. æD
  2883. #define NilShapeReturnNil(a)        if ((a) == (gxShape) nil) {GXPostGraphicsError(shape_is_nil); return 0L; } else
  2884. #define NilStyleReturn(a)            if ((a) == (gxStyle) nil) {GXPostGraphicsError(style_is_nil); return; } else
  2885. #define NilStyleReturnNil(a)        if ((a) == (gxStyle) nil) {GXPostGraphicsError(style_is_nil); return 0L; } else
  2886. #define NilInkReturn(a)                if ((a) == (gxInk) nil) {GXPostGraphicsError(ink_is_nil); return; } else
  2887. #define NilInkReturnNil(a)            if ((a) == (gxInk) nil) {GXPostGraphicsError(ink_is_nil); return 0L; } else
  2888. #define NilTransformReturn(a)        if ((a) == (gxTransform) nil) {GXPostGraphicsError(transform_is_nil); return; } else
  2889. #define NilTransformReturnNil(a)    if ((a) == (gxTransform) nil) {GXPostGraphicsError(transform_is_nil); return 0L; } else
  2890. #define NilColorSetReturn(a)        if ((a) == (gxColorSet) nil) {GXPostGraphicsError(colorSet_is_nil); return; } else
  2891. #define NilColorSetReturnNil(a)        if ((a) == (gxColorSet) nil) {GXPostGraphicsError(colorSet_is_nil); return 0L; } else
  2892. #define NilColorProfileReturn(a)    if ((a) == (gxColorProfile) nil) {GXPostGraphicsError(colorProfile_is_nil); return; } else
  2893. #define NilColorProfileReturnNil(a)    if ((a) == (gxColorProfile) nil) {GXPostGraphicsError(colorProfile_is_nil); return 0L; } else
  2894. #define NilTagReturn(a)                if ((a) == (gxTag) nil) {GXPostGraphicsError(tag_is_nil); return; } else
  2895. #define NilTagReturnNil(a)            if ((a) == (gxTag) nil) {GXPostGraphicsError(tag_is_nil); return 0L; } else
  2896. #define IfDebug(a, b)
  2897. #define IfDebugReturn(a, b)
  2898. #define IfDebugReturnNil(a, b)
  2899. #define NilParamReturn(a)
  2900. #define NilParamReturnNil(a)
  2901. #define IfErrorReturn(a,b)
  2902. #define IfErrorReturnNil(a,b)
  2903. #define IfNotice(a, b)
  2904. #define IfWarning(a,b)
  2905. #define IfWarningReturn(a,b)        if (a) return; else
  2906. #define IfWarningReturnNil(a,b)        if (a) return 0L; else
  2907.  
  2908. æKY commonColors
  2909.     gxWhite
  2910.     gxBlack
  2911.     gxGray
  2912.     gxGrey
  2913.     white
  2914.     black
  2915.     gray
  2916.     grey
  2917.     red
  2918.     green
  2919.     blue
  2920.     cyan
  2921.     magenta
  2922.     yellow
  2923.     orange
  2924.     chartreuse
  2925.     aqua
  2926.     teal
  2927.     slate
  2928.     purple
  2929.     violet
  2930.     maroon
  2931.     brown
  2932.     pink
  2933.     turquoise
  2934.     cadmium_lemon
  2935.     cadmium_light_yellow
  2936.     aureoline_yellow
  2937.     naples_deep_yellow
  2938.     cadmium_yellow
  2939.     cadmium_deep_yellow
  2940.     cadmium_orange
  2941.     cadmium_light_red
  2942.     cadmium_deep_red
  2943.     geranium_lake
  2944.     alizarin_crimson
  2945.     rose_madder
  2946.     madder_deep_lake
  2947.     brown_madder
  2948.     permanent_red_violet
  2949.     cobalt_deep_violet
  2950.     ultramarine_violet
  2951.     ultramarine_blue
  2952.     cobalt_blue
  2953.     royal_blue
  2954.     cerulean_blue
  2955.     manganese_blue
  2956.     indigo
  2957.     turquoise_blue
  2958.     emerald_green
  2959.     permanent_green
  2960.     viridian_light
  2961.     cobalt_green
  2962.     cinnabar_green
  2963.     sap_green
  2964.     chromium_oxide_green
  2965.     terre_verte
  2966.     yellow_ochre
  2967.     mars_yellow
  2968.     raw_sienna
  2969.     mars_orange
  2970.     gold_ochre
  2971.     brown_ochre
  2972.     deep_ochre
  2973.     burnt_umber
  2974.     burnt_sienna
  2975.     flesh
  2976.     flesh_ochre
  2977.     english_red
  2978.     venetian_red
  2979.     indian_red
  2980.     raw_umber
  2981.     greenish_umber
  2982.     van_dyck_brown
  2983.     sepia
  2984.     warm_grey
  2985.     cold_grey
  2986.     ivory_black
  2987.     lamp_black
  2988.     titanium_white
  2989.     zinc_white
  2990.     pale_gold
  2991.     gold
  2992.     old_gold
  2993.     pink_gold
  2994.     white_gold
  2995.     yellow_gold
  2996.     green_gold
  2997.     platinum
  2998.     silver
  2999.     antique_silver
  3000.     chrome
  3001.     steel
  3002.     copper
  3003.     antique_copper
  3004.     oxidized_copper
  3005.     bronze
  3006.     brass
  3007.     iron
  3008.     rusted_iron
  3009.     lead
  3010.     fluorescent_pink
  3011.     fluorescent_green
  3012.     fluorescent_blue
  3013.     incadescent_high
  3014.     incadescent_low
  3015.     moonlight
  3016.     sodium
  3017.     daylight
  3018.     dawn
  3019.     afternoon
  3020.     dusk
  3021.     mauve
  3022.     apple_green
  3023.     apple_yellow
  3024.     apple_orange
  3025.     apple_red
  3026.     apple_purple
  3027.     apple_blue
  3028.     light
  3029.     dark
  3030.     warm
  3031.     reddish
  3032.     cool
  3033.     bluish
  3034.     grayish
  3035.     whitish
  3036.     blackish
  3037.     greenish 
  3038.     commonColor
  3039. æFc Graphics Libraries.h
  3040. æT constant
  3041. æD
  3042. enum commonColors {
  3043.     /* common color names */
  3044.     gxWhite = 1,        gxBlack,                gxGray,                    gxGrey = gxGray,
  3045.     #ifndef __QUICKDRAW__
  3046.     white = 1,            black,                    gray,                    grey = gray,
  3047.     #endif
  3048.  
  3049.         /* primaries */
  3050.     red,                green,                    blue,
  3051.  
  3052.         /* secondaries */
  3053.     cyan,                magenta,                yellow,
  3054.  
  3055.         /* tertiaries */
  3056.     orange,                chartreuse,                aqua,                    teal = aqua,
  3057.     slate,                purple,                    violet = purple,        maroon,
  3058.  
  3059.         /* others */
  3060.     brown,                pink,                    turquoise,
  3061.     cadmium_lemon,        cadmium_light_yellow,    aureoline_yellow,        naples_deep_yellow,
  3062.     cadmium_yellow,     cadmium_deep_yellow,    cadmium_orange,            cadmium_light_red,
  3063.     cadmium_deep_red,    geranium_lake,            alizarin_crimson,        rose_madder,
  3064.     madder_deep_lake,    brown_madder,            permanent_red_violet,    cobalt_deep_violet,
  3065.     ultramarine_violet,    ultramarine_blue,        cobalt_blue,            royal_blue,
  3066.     cerulean_blue,        manganese_blue,            indigo,                    turquoise_blue,
  3067.     emerald_green,        permanent_green,        viridian_light,            cobalt_green,
  3068.     cinnabar_green,     sap_green,                chromium_oxide_green,    terre_verte,
  3069.     yellow_ochre,        mars_yellow,            raw_sienna,                mars_orange,
  3070.     gold_ochre,            brown_ochre,            deep_ochre,                burnt_umber,
  3071.     burnt_sienna,        flesh,                    flesh_ochre,            english_red,
  3072.     venetian_red,        indian_red,                raw_umber,                greenish_umber,
  3073.     van_dyck_brown,        sepia,                    warm_grey,                cold_grey,
  3074.     ivory_black,        lamp_black,                titanium_white,            zinc_white,
  3075.     pale_gold,            gold,                    old_gold,                pink_gold,
  3076.     white_gold,            yellow_gold,            green_gold,                platinum,
  3077.     silver,                antique_silver,            chrome,                    steel,
  3078.     copper,                antique_copper,            oxidized_copper,        bronze,
  3079.     brass,                iron,                    rusted_iron,            lead,
  3080.     fluorescent_pink,    fluorescent_green,        fluorescent_blue,
  3081.     incadescent_high,    incadescent_low,
  3082.     moonlight,            sodium,                    daylight,                dawn,
  3083.     afternoon,            dusk,                    mauve,
  3084.     apple_green,        apple_yellow,            apple_orange,            apple_red,
  3085.     apple_purple,        apple_blue,
  3086.  
  3087.     /* common color modifiers */
  3088.     light = 512,
  3089.     dark = 1024,
  3090.     warm = 2048,
  3091.     reddish = warm,
  3092.     cool = 4096,
  3093.     bluish = cool,
  3094.     grayish = 8192,
  3095.     whitish = light,
  3096.     blackish = dark,
  3097.     greenish = 16384
  3098. };
  3099.  
  3100. typedef long commonColor;
  3101.  
  3102. æKY makeRGBSHORT
  3103.     makeCMYKSHORT
  3104.     makeRGB16
  3105.     makeCMYK16
  3106.     xRGB256
  3107.     xRGB
  3108.     xCMYK
  3109.     xCIE
  3110.     xYIQ
  3111.     xXYZ
  3112.     xLUV
  3113.     xLAB
  3114.     xHLS
  3115.     xNTSC
  3116.     xPAL
  3117.     xGRAY
  3118.     xRGB16
  3119.     xRGB32
  3120.     xCMYK32
  3121.     sRGB
  3122.     sCMYK
  3123.     sRGB256
  3124. æFc Graphics Libraries.h
  3125. æT macro
  3126. æD
  3127. #define makeRGBSHORT(a,b,c) ((c >> 14) + ((b >> 13) + (a >> 13) << 3) << 3)
  3128. #define makeCMYKSHORT(a,b,c,d) ((d >> 14) + ((c >> 14) + ((b >> 14) + (a >> 14) << 2) << 2) << 2)
  3129. #define makeRGB16(a,b,c) ((c >> 11) + ((b >> 11) + (a >> 11) << 5) << 5)
  3130. #define makeCMYK16(a,b,c,d) ((d >> 12) + ((c >> 12) + ((b >> 12) + (a >> 12) << 4) << 4) << 4)
  3131.  
  3132. #define xRGB256(a,b,c) {gxRGBSpace,nil,{(a << 8)+a,(b << 8)+b,(c << 8)+c, 0 }}
  3133. #define xRGB(a,b,c)    {gxRGBSpace,nil,{a,b,c,0}}
  3134. #define xCMYK(a,b,c,d) {gxCMYKSpace,nil,{a,b,c,d}}
  3135. #define xHSV(a,b,c) {gxHSVSpace,nil,{a,b,c,0}}
  3136. #define xCIE(a,b,c) {gxCIESpace,nil,{a,b,c,0}}
  3137. #define xYIQ(a,b,c) {gxYIQSpace,nil,{a,b,c,0}}
  3138. #define xXYZ(a,b,c) {gxXYZSpace,nil,{a,b,c,0}}
  3139. #define xLUV(a,b,c) {gxLUVSpace,nil,{a,b,c,0}}
  3140. #define xLAB(a,b,c) {gxLABSpace,nil,{a,b,c,0}}
  3141. #define xHLS(a,b,c) {gxHLSSpace,nil,{a,b,c,0}}
  3142. #define xNTSC(a,b,c) {gxNTSCSpace,nil,{a,b,c,0}}
  3143. #define xPAL(a,b,c) {gxPALSpace,nil,{a,b,c,0}}
  3144. #define xGRAY(a) {gxGraySpace,nil,{a,0,0,0}}
  3145. #define xRGB16(a,b,c) {gxRGB16Space,nil,{makeRGB16(a,b,c),0,0,0}}
  3146. #define xRGB32(a,b,c) {gxRGB32Space,nil,{(a >> 8),((c >> 8) + (b >> 8) << 8),0,0}}
  3147. #define xCMYK32(a,b,c,d) {gxCMYK32Space,nil,{((b >> 8) + (a >> 8) << 8),((d >> 8) + (c >> 8) << 8),0,0}}
  3148.  
  3149. #define sRGB(r,g,b) {r,g,b,0}
  3150. #define sCMYK(c,m,y,k) {c,m,y,k}
  3151. #define sRGB256(a,b,c) {(a << 8)+a,(b << 8)+b,(c << 8)+c, 0 }
  3152.  
  3153. æKY commonFaces
  3154.     gxPlain
  3155.     gxBold
  3156.     gxItalic
  3157.     gxUnderline
  3158.     gxOutline
  3159.     gxShadow
  3160.     gxCondense
  3161.     gxExtend
  3162.     gxLighten
  3163.     commonFace
  3164. æFc Graphics Libraries.h
  3165. æT constant
  3166. æD
  3167. enum commonFaces {
  3168.     gxPlain,
  3169.     gxBold = 1,
  3170.     gxItalic = 2,
  3171.     gxUnderline = 4,
  3172.     gxOutline = 8,
  3173.     gxShadow = 0x10,
  3174.     gxCondense = 0x20,
  3175.     gxExtend = 0x40,
  3176.     gxLighten = 0x80
  3177. };
  3178.  
  3179. typedef char commonFace;
  3180.  
  3181. æKY commonTransferModes
  3182.     commonAddOverMode
  3183.     commonSubtractOverMode
  3184.     commonSubtractPinMode
  3185.     commonTransparentMode
  3186.     commonInMode
  3187.     commonOutMode
  3188.     commonTransferMode
  3189. æFc Graphics Libraries.h
  3190. æT constant
  3191. æD
  3192. enum commonTransferModes {
  3193.     commonAddOverMode = 2000,
  3194.     commonSubtractOverMode,
  3195.     commonSubtractPinMode,
  3196.     commonTransparentMode,
  3197.     commonInMode,
  3198.     commonOutMode
  3199. };
  3200.  
  3201. typedef short commonTransferMode;
  3202.  
  3203. æC
  3204.  
  3205. These modes simulate QuickDraw's transfer modes.
  3206.  
  3207. æKY cubic
  3208. æFc Graphics Libraries.h
  3209. æT structure
  3210. æD
  3211. struct cubic {
  3212.     gxPoint a;
  3213.     gxPoint b;
  3214.     gxPoint c;
  3215.     gxPoint d;
  3216. } ;
  3217.  
  3218. typedef struct cubic cubic;
  3219.  
  3220. æKY conic
  3221. æFc Graphics Libraries.h
  3222. æT structure
  3223. æD
  3224.  
  3225. struct conic {
  3226.     gxPoint a;
  3227.     gxPoint b;
  3228.     gxPoint c;
  3229.     Fixed lambda;
  3230. };
  3231.  
  3232. typedef struct conic conic;
  3233.  
  3234. æKY NewPath
  3235. æFc Graphics Libraries.h
  3236. æT function
  3237. æD
  3238. gxShape NewPath(const gxPath *path);
  3239.  
  3240. æKY NewPolygon
  3241. æFc Graphics Libraries.h
  3242. æT function
  3243. æD
  3244. gxShape NewPolygon(const gxPolygon *polygon);
  3245.  
  3246. æKY GetPolygon
  3247. æFc Graphics Libraries.h
  3248. æT function
  3249. æD
  3250. gxPolygon *GetPolygon(gxShape source, long contour, gxPolygon *polygon);
  3251.  
  3252. æKY GetPath
  3253. æFc Graphics Libraries.h
  3254. æT function
  3255. æD
  3256. gxPath *GetPath(gxShape source, long contour, gxPath *path);
  3257.  
  3258. æKY SetPath
  3259. æFc Graphics Libraries.h
  3260. æT function
  3261. æD
  3262. void SetPath(gxShape target, long contour, const gxPath *path);
  3263.  
  3264. æKY SetPolygon
  3265. æFc Graphics Libraries.h
  3266. æT function
  3267. æD
  3268. void SetPolygon(gxShape target, long contour, const gxPolygon *polygon);
  3269.  
  3270. æKY DrawPolygon
  3271. æFc Graphics Libraries.h
  3272. æT function
  3273. æD
  3274. void DrawPolygon(const gxPolygon *polygon, gxShapeFill fill);
  3275.  
  3276. æKY DrawPath
  3277. æFc Graphics Libraries.h
  3278. æT function
  3279. æD
  3280. void DrawPath(const gxPath *path, gxShapeFill fill);
  3281.  
  3282. æKY SetShapeIndexPoint
  3283. æFc Graphics Libraries.h
  3284. æT function
  3285. æD
  3286. void SetShapeIndexPoint(gxShape target, long index, const gxPoint *point);
  3287.  
  3288. æKY SetShapeIndexControl
  3289. æFc Graphics Libraries.h
  3290. æT function
  3291. æD
  3292. void SetShapeIndexControl(gxShape target, long index, long control);
  3293.  
  3294. æKY GetShapeIndexPoint
  3295. æFc Graphics Libraries.h
  3296. æT function
  3297. æD
  3298. gxPoint *GetShapeIndexPoint(gxShape source, long index, gxPoint *point);
  3299.  
  3300. æKY GetShapeIndexControl
  3301. æFc Graphics Libraries.h
  3302. æT function
  3303. æD
  3304. long GetShapeIndexControl(gxShape source, long index, long *control);
  3305.  
  3306. æKY InsertShape
  3307. æFc Graphics Libraries.h
  3308. æT function
  3309. æD
  3310. void InsertShape(gxShape target, long index, gxShape toAdd);
  3311.  
  3312. æKY ExtractShape
  3313. æFc Graphics Libraries.h
  3314. æT function
  3315. æD
  3316. gxShape ExtractShape(gxShape source, long firstPoint, long numPoints);
  3317.  
  3318. æKY AddToShape
  3319. æFc Graphics Libraries.h
  3320. æT function
  3321. æD
  3322. void AddToShape(gxShape target, gxShape add);
  3323.  
  3324. æKY ExtendShape
  3325. æFc Graphics Libraries.h
  3326. æT function
  3327. æD
  3328. void ExtendShape(gxShape target, gxShape add);
  3329.  
  3330. æKY NewShape2
  3331. æFc Graphics Libraries.h
  3332. æT function
  3333. æD
  3334. #define NewShape2(type,p1,p2) NewShapeMany(type, (Fixed)p1, (Fixed)p2)
  3335.  
  3336. æKY NewShape4
  3337. æFc Graphics Libraries.h
  3338. æT function
  3339. æD
  3340. #define NewShape4(type,p1,p2, p3, p4) NewShapeMany(type, (Fixed)p1, (Fixed)p2, (Fixed)p3, (Fixed)p4)
  3341.  
  3342. æKY NewShape6
  3343. æFc Graphics Libraries.h
  3344. æT function
  3345. æD
  3346. #define NewShape6(type,p1,p2, p3, p4, p5, p6) NewShapeMany(type, (Fixed)p1, (Fixed)p2, (Fixed)p3, (Fixed)p4, (Fixed)p5, (Fixed)p6)
  3347.  
  3348. æKY SetShape2
  3349. æFc Graphics Libraries.h
  3350. æT function
  3351. æD
  3352. #define SetShape2(source,p1,p2) SetShapeMany(source, (Fixed)p1, (Fixed)p2)
  3353.  
  3354. æKY SetShape4
  3355. æFc Graphics Libraries.h
  3356. æT function
  3357. æD
  3358. #define SetShape4(source,p1,p2, p3, p4) SetShapeMany(source, (Fixed)p1, (Fixed)p2, (Fixed)p3, (Fixed)p4)
  3359.  
  3360. æKY SetShape6
  3361. æFc Graphics Libraries.h
  3362. æT function
  3363. æD
  3364. #define SetShape6(source,p1,p2, p3, p4, p5, p6) SetShapeMany(source, (Fixed)p1, (Fixed)p2, (Fixed)p3, (Fixed)p4, (Fixed)p5, (Fixed)p6)
  3365.  
  3366. æKY NewShapeMany
  3367. æFc Graphics Libraries.h
  3368. æT function
  3369. æD
  3370. gxShape NewShapeMany(gxShapeType type, Fixed firstArg, ...);
  3371.  
  3372. æKY SetShapeMany
  3373. æFc Graphics Libraries.h
  3374. æT function
  3375. æD
  3376. void SetShapeMany(gxShape target, Fixed firstArg, ...);
  3377.  
  3378. æKY GetBitmapPartsFromFixedBounds
  3379. æFc Graphics Libraries.h
  3380. æT function
  3381. æD
  3382. gxShape GetBitmapPartsFromFixedBounds(gxShape source, const gxRectangle *bounds);
  3383.  
  3384. æKY SetBitmapPartsFromFixedBounds
  3385. æFc Graphics Libraries.h
  3386. æT function
  3387. æD
  3388. void SetBitmapPartsFromFixedBounds(gxShape target, const gxRectangle *bounds, gxShape bitmapShape);
  3389.  
  3390. æKY NewArc
  3391. æFc Graphics Libraries.h
  3392. æT function
  3393. æD
  3394. gxShape NewArc(const gxRectangle *rect, Fixed startAng, Fixed sweep, boolean wedge);
  3395.  
  3396. æKY NewOval
  3397. æFc Graphics Libraries.h
  3398. æT function
  3399. æD
  3400. gxShape NewOval(const gxRectangle *rect);
  3401.  
  3402. æKY NewRoundRect
  3403. æFc Graphics Libraries.h
  3404. æT function
  3405. æD
  3406. gxShape NewRoundRect(const gxRectangle *rect, const gxPoint *ovalSize);
  3407.  
  3408. æKY NewCubic
  3409. æFc Graphics Libraries.h
  3410. æT function
  3411. æD
  3412. gxShape NewCubic(const cubic *curve);
  3413.  
  3414. æKY NewConic
  3415. æFc Graphics Libraries.h
  3416. æT function
  3417. æD
  3418. gxShape NewConic(const conic *curve);
  3419.  
  3420. æKY DrawArc
  3421. æFc Graphics Libraries.h
  3422. æT function
  3423. æD
  3424. void DrawArc(const gxRectangle *rect, Fixed startAng, Fixed sweep, boolean wedge);
  3425.  
  3426. æKY DrawOval
  3427. æFc Graphics Libraries.h
  3428. æT function
  3429. æD
  3430. void DrawOval(const gxRectangle *rect, gxShapeFill fill);
  3431.  
  3432. æKY DrawRoundRect
  3433. æFc Graphics Libraries.h
  3434. æT function
  3435. æD
  3436. void DrawRoundRect(const gxRectangle *rect, const gxPoint *ovalSize, gxShapeFill fill);
  3437.  
  3438. æKY DrawCubic
  3439. æFc Graphics Libraries.h
  3440. æT function
  3441. æD
  3442. void DrawCubic(const cubic *curve, gxShapeFill fill);
  3443.  
  3444. æKY DrawConic
  3445. æFc Graphics Libraries.h
  3446. æT function
  3447. æD
  3448. void DrawConic(const conic *curve, gxShapeFill fill);
  3449.  
  3450. æKY SetArc
  3451. æFc Graphics Libraries.h
  3452. æT function
  3453. æD
  3454. void SetArc(gxShape target, const gxRectangle *rect, Fixed startAng, Fixed sweep, boolean wedge);
  3455.  
  3456. æKY SetOval
  3457. æFc Graphics Libraries.h
  3458. æT function
  3459. æD
  3460. void SetOval(gxShape target, const gxRectangle *rect);
  3461.  
  3462. æKY SetRoundRect
  3463. æFc Graphics Libraries.h
  3464. æT function
  3465. æD
  3466. void SetRoundRect(gxShape target, const gxRectangle *rect, const gxPoint *ovalSize);
  3467.  
  3468. æKY SetCubic
  3469. æFc Graphics Libraries.h
  3470. æT function
  3471. æD
  3472. void SetCubic(gxShape target, const cubic *curve);
  3473.  
  3474. æKY SetConic
  3475. æFc Graphics Libraries.h
  3476. æT function
  3477. æD
  3478. void SetConic(gxShape target, const conic *curve);
  3479.  
  3480. æKY SetGraphicsLibraryErrors
  3481. æFc Graphics Libraries.h
  3482. æT function
  3483. æD
  3484. void SetGraphicsLibraryErrors(void);
  3485.  
  3486. æKY SetGraphicsLibraryNotices
  3487. æFc Graphics Libraries.h
  3488. æT function
  3489. æD
  3490. void SetGraphicsLibraryNotices(void);
  3491.  
  3492. æKY GraphicsErrorMessage
  3493. æFc Graphics Libraries.h
  3494. æT function
  3495. æD
  3496. char *GraphicsErrorMessage(gxGraphicsError error);
  3497.  
  3498. æKY GraphicsWarningMessage
  3499. æFc Graphics Libraries.h
  3500. æT function
  3501. æD
  3502. char *GraphicsWarningMessage(gxGraphicsWarning warning);
  3503.  
  3504. æKY GraphicsNoticeMessage
  3505. æFc Graphics Libraries.h
  3506. æT function
  3507. æD
  3508. char *GraphicsNoticeMessage(gxGraphicsNotice notice);
  3509.  
  3510. æKY DisplayGraphicsErrorMessage
  3511. æFc Graphics Libraries.h
  3512. æT function
  3513. æD
  3514. void DisplayGraphicsErrorMessage(gxGraphicsError error, long reference);
  3515.  
  3516. æKY DisplayGraphicsWarningMessage
  3517. æFc Graphics Libraries.h
  3518. æT function
  3519. æD
  3520. void DisplayGraphicsWarningMessage(gxGraphicsWarning warning, long reference);
  3521.  
  3522. æKY DisplayGraphicsNoticeMessage
  3523. æFc Graphics Libraries.h
  3524. æT function
  3525. æD
  3526. void DisplayGraphicsNoticeMessage(gxGraphicsNotice notice, long reference);
  3527.  
  3528. æKY CenterShape
  3529. æFc Graphics Libraries.h
  3530. æT function
  3531. æD
  3532. void CenterShape(gxShape target, gxRectangle *rect);
  3533.  
  3534. æKY MoveShapeCenterTo
  3535. æFc Graphics Libraries.h
  3536. æT function
  3537. æD
  3538. void MoveShapeCenterTo(gxShape target, Fixed x, Fixed y);
  3539.  
  3540. æKY RotateShapeAboutCenter
  3541. æFc Graphics Libraries.h
  3542. æT function
  3543. æD
  3544. void RotateShapeAboutCenter(gxShape target, Fixed degrees);
  3545.  
  3546. æKY SkewShapeAboutCenter
  3547. æFc Graphics Libraries.h
  3548. æT function
  3549. æD
  3550. void SkewShapeAboutCenter(gxShape target, Fixed xSkew, Fixed ySkew);
  3551.  
  3552. æKY ScaleShapeAboutCenter
  3553. æFc Graphics Libraries.h
  3554. æT function
  3555. æD
  3556. void ScaleShapeAboutCenter(gxShape target, Fixed hScale, Fixed vScale);
  3557.  
  3558. æKY MapShapeToSpace
  3559. æFc Graphics Libraries.h
  3560. æT function
  3561. æD
  3562. void MapShapeToSpace(gxShape target, gxViewPort port, gxViewDevice device);
  3563.  
  3564. æKY MapShapeFromSpace
  3565. æFc Graphics Libraries.h
  3566. æT function
  3567. æD
  3568. void MapShapeFromSpace(gxShape target, gxViewPort port, gxViewDevice device);
  3569.  
  3570. æKY MapPointToSpace
  3571. æFc Graphics Libraries.h
  3572. æT function
  3573. æD
  3574. void MapPointToSpace(gxPoint *target, gxViewPort port, gxViewDevice device);
  3575.  
  3576. æKY MapPointFromSpace
  3577. æFc Graphics Libraries.h
  3578. æT function
  3579. æD
  3580. void MapPointFromSpace(gxPoint *target, gxViewPort port, gxViewDevice device);
  3581.  
  3582. æKY GetTransformViewPort
  3583. æFc Graphics Libraries.h
  3584. æT function
  3585. æD
  3586. gxViewPort GetTransformViewPort(gxTransform source);
  3587.  
  3588. æKY SetTransformViewPort
  3589. æFc Graphics Libraries.h
  3590. æT function
  3591. æD
  3592. void SetTransformViewPort(gxTransform target, gxViewPort port);
  3593.  
  3594. æKY AddToTransformViewPort
  3595. æFc Graphics Libraries.h
  3596. æT function
  3597. æD
  3598. void AddToTransformViewPort(gxTransform target, gxViewPort port);
  3599.  
  3600. æKY SetShapeViewPort
  3601. æFc Graphics Libraries.h
  3602. æT function
  3603. æD
  3604. void SetShapeViewPort(gxShape target, gxViewPort port);
  3605.  
  3606. æKY GetShapeViewPort
  3607. æFc Graphics Libraries.h
  3608. æT function
  3609. æD
  3610. gxViewPort GetShapeViewPort(gxShape source);
  3611.  
  3612. æKY SetDeepShapeViewPort
  3613. æFc Graphics Libraries.h
  3614. æT function
  3615. æD
  3616. void SetDeepShapeViewPort(gxShape target, gxViewPort port);
  3617.  
  3618. æKY SetDeepShapeViewPorts
  3619. æFc Graphics Libraries.h
  3620. æT function
  3621. æD
  3622. void SetDeepShapeViewPorts(gxShape target, long count, const gxViewPort portList[]);
  3623.  
  3624. æKY SetDeepShapeTransform
  3625. æFc Graphics Libraries.h
  3626. æT function
  3627. æD
  3628. void SetDeepShapeTransform(gxShape target, gxTransform);
  3629.  
  3630. æKY SetDefaultViewPort
  3631. æFc Graphics Libraries.h
  3632. æT function
  3633. æD
  3634. void SetDefaultViewPort(gxViewPort port);
  3635.  
  3636. æKY CopyViewGroup
  3637. æFc Graphics Libraries.h
  3638. æT function
  3639. æD
  3640. gxViewGroup CopyViewGroup(gxViewGroup group);
  3641.  
  3642. æKY ChangeTransformViewGroup
  3643. æFc Graphics Libraries.h
  3644. æT function
  3645. æD
  3646. gxTransform ChangeTransformViewGroup(gxTransform target, gxViewGroup oldGroup, gxViewGroup newGroup);
  3647.  
  3648. æKY ChangeShapeViewGroup
  3649. æFc Graphics Libraries.h
  3650. æT function
  3651. æD
  3652. gxShape ChangeShapeViewGroup(gxShape source, gxViewGroup oldGroup, gxViewGroup newGroup);
  3653.  
  3654. æKY SeparateShapeTransform
  3655. æFc Graphics Libraries.h
  3656. æT function
  3657. æD
  3658. gxTransform SeparateShapeTransform(gxShape source);
  3659.  
  3660. æKY ReuniteShapeTransform
  3661. æFc Graphics Libraries.h
  3662. æT function
  3663. æD
  3664. void ReuniteShapeTransform(gxShape target, gxTransform separate);
  3665.  
  3666. æKY SeparateShapeStyle
  3667. æFc Graphics Libraries.h
  3668. æT function
  3669. æD
  3670. gxStyle SeparateShapeStyle(gxShape source);
  3671.  
  3672. æKY ReuniteShapeStyle
  3673. æFc Graphics Libraries.h
  3674. æT function
  3675. æD
  3676. void ReuniteShapeStyle(gxShape target, gxStyle separate);
  3677.  
  3678. æKY SeparateShapeInk
  3679. æFc Graphics Libraries.h
  3680. æT function
  3681. æD
  3682. gxInk SeparateShapeInk(gxShape source);
  3683.  
  3684. æKY ReuniteShapeInk
  3685. æFc Graphics Libraries.h
  3686. æT function
  3687. æD
  3688. void ReuniteShapeInk(gxShape target, gxInk separate);
  3689.  
  3690. æKY GetPathsIndexPointControl
  3691. æFc Graphics Libraries.h
  3692. æT function
  3693. æD
  3694. void GetPathsIndexPointControl(const gxPaths *source, long index, gxPoint **pt, long **controlPtr, long *controlMask);
  3695.  
  3696. æKY SetShapeOpenPath
  3697. æFc Graphics Libraries.h
  3698. æT function
  3699. æD
  3700. void SetShapeOpenPath(gxShape target);
  3701.  
  3702. æKY PreMapTransform
  3703. æFc Graphics Libraries.h
  3704. æT function
  3705. æD
  3706. void PreMapTransform(gxTransform source, gxMapping *map);
  3707.  
  3708. æKY CopyShape
  3709. æFc Graphics Libraries.h
  3710. æT function
  3711. æD
  3712. #define CopyShape(s) GXCopyToShape(nil,s)
  3713.  
  3714. æKY CopyStyle
  3715. æFc Graphics Libraries.h
  3716. æT function
  3717. æD
  3718. #define CopyStyle(s) GXCopyToStyle(nil,s)
  3719.  
  3720. æKY CopyInk
  3721. æFc Graphics Libraries.h
  3722. æT function
  3723. æD
  3724. #define CopyInk(s) GXCopyToInk(nil,s)
  3725.  
  3726. æKY CopyTransform
  3727. æFc Graphics Libraries.h
  3728. æT function
  3729. æD
  3730. #define CopyTransform(s) GXCopyToTransform(nil,s)
  3731.  
  3732. æKY DisposeTransformAt
  3733. æFc Graphics Libraries.h
  3734. æT function
  3735. æD
  3736. void DisposeTransformAt(gxTransform *target);
  3737.  
  3738. æKY DisposeShapeAt
  3739. æFc Graphics Libraries.h
  3740. æT function
  3741. æD
  3742. void DisposeShapeAt(gxShape *target);
  3743.  
  3744. æKY DisposeStyleAt
  3745. æFc Graphics Libraries.h
  3746. æT function
  3747. æD
  3748. void DisposeStyleAt(gxStyle *target);
  3749.  
  3750. æKY DisposeInkAt
  3751. æFc Graphics Libraries.h
  3752. æT function
  3753. æD
  3754. void DisposeInkAt(gxInk *target);
  3755.  
  3756. æKY DisposeTagAt
  3757. æFc Graphics Libraries.h
  3758. æT function
  3759. æD
  3760. void DisposeTagAt(gxTag *target);
  3761.  
  3762. æKY CreateQMSColorProfile
  3763. æFc Graphics Libraries.h
  3764. æT function
  3765. æD
  3766. gxColorProfile CreateQMSColorProfile(void);
  3767.  
  3768. æKY CreateCanonColorProfile
  3769. æFc Graphics Libraries.h
  3770. æT function
  3771. æD
  3772. gxColorProfile CreateCanonColorProfile(void);
  3773.  
  3774. æKY CreateColorSyncSystemProfile
  3775. æFc Graphics Libraries.h
  3776. æT function
  3777. æD
  3778. gxColorProfile CreateColorSyncSystemProfile(void);
  3779.  
  3780. æKY InitCommonColors
  3781. æFc Graphics Libraries.h
  3782. æT function
  3783. æD
  3784. void InitCommonColors(void);
  3785.  
  3786. æKY DisposeCommonColors
  3787. æFc Graphics Libraries.h
  3788. æT function
  3789. æD
  3790. void DisposeCommonColors(void);
  3791.  
  3792. æKY SetShapeRGB
  3793. æFc Graphics Libraries.h
  3794. æT function
  3795. æD
  3796. void SetShapeRGB(gxShape target, gxColorValue red, gxColorValue green, gxColorValue blue);
  3797.  
  3798. æKY SetInkRGB
  3799. æFc Graphics Libraries.h
  3800. æT function
  3801. æD
  3802. void SetInkRGB(gxInk target, gxColorValue red, gxColorValue green, gxColorValue blue);
  3803.  
  3804. æKY SetShapeHSV
  3805. æFc Graphics Libraries.h
  3806. æT function
  3807. æD
  3808. void SetShapeHSV(gxShape target, gxColorValue hue, gxColorValue saturation, gxColorValue value);
  3809.  
  3810. æKY SetInkHSV
  3811. æFc Graphics Libraries.h
  3812. æT function
  3813. æD
  3814. void SetInkHSV(gxInk target, gxColorValue hue, gxColorValue saturation, gxColorValue value);
  3815.  
  3816. æKY SetShapeGray
  3817. æFc Graphics Libraries.h
  3818. æT function
  3819. æD
  3820. void SetShapeGray(gxShape target, gxColorValue gray);
  3821.  
  3822. æKY SetInkGray
  3823. æFc Graphics Libraries.h
  3824. æT function
  3825. æD
  3826. void SetInkGray(gxInk target, gxColorValue gray);
  3827.  
  3828. æKY SetShapeCommonTransfer
  3829. æFc Graphics Libraries.h
  3830. æT function
  3831. æD
  3832. void SetShapeCommonTransfer(gxShape target, commonTransferMode mode);
  3833.  
  3834. æKY SetShapeCommonColor
  3835. æFc Graphics Libraries.h
  3836. æT function
  3837. æD
  3838. void SetShapeCommonColor(gxShape target, commonColor color);
  3839.  
  3840. æKY SetShapeCommonFace
  3841. æFc Graphics Libraries.h
  3842. æT function
  3843. æD
  3844. void SetShapeCommonFace(gxShape target, commonFace face);
  3845.  
  3846. æKY SetInkCommonTransfer
  3847. æFc Graphics Libraries.h
  3848. æT function
  3849. æD
  3850. void SetInkCommonTransfer(gxInk target, commonTransferMode mode);
  3851.  
  3852. æKY SetInkCommonColor
  3853. æFc Graphics Libraries.h
  3854. æT function
  3855. æD
  3856. void SetInkCommonColor(gxInk target, commonColor);
  3857.  
  3858. æKY SetStyleCommonFace
  3859. æFc Graphics Libraries.h
  3860. æT function
  3861. æD
  3862. void SetStyleCommonFace(gxStyle target, commonFace);
  3863.  
  3864. æKY GetInkCommonTransfer
  3865. æFc Graphics Libraries.h
  3866. æT function
  3867. æD
  3868. commonTransferMode GetInkCommonTransfer(gxInk source);
  3869.  
  3870. æKY GetInkCommonColor
  3871. æFc Graphics Libraries.h
  3872. æT function
  3873. æD
  3874. commonColor GetInkCommonColor(gxInk source);
  3875.  
  3876. æKY GetStyleCommonFace
  3877. æFc Graphics Libraries.h
  3878. æT function
  3879. æD
  3880. commonFace GetStyleCommonFace(gxStyle source);
  3881.  
  3882. æKY GetShapeCommonTransfer
  3883. æFc Graphics Libraries.h
  3884. æT function
  3885. æD
  3886. commonTransferMode GetShapeCommonTransfer(gxShape source);
  3887.  
  3888. æKY GetShapeCommonColor
  3889. æFc Graphics Libraries.h
  3890. æT function
  3891. æD
  3892. commonColor GetShapeCommonColor(gxShape source);
  3893.  
  3894. æKY GetShapeCommonFace
  3895. æFc Graphics Libraries.h
  3896. æT function
  3897. æD
  3898. commonFace GetShapeCommonFace(gxShape source);
  3899.  
  3900. æKY SetCommonColor
  3901. æFc Graphics Libraries.h
  3902. æT function
  3903. æD
  3904. gxColor *SetCommonColor(gxColor *target, commonColor color);
  3905.  
  3906. æKY GetCommonColor
  3907. æFc Graphics Libraries.h
  3908. æT function
  3909. æD
  3910. commonColor GetCommonColor(const gxColor *source);
  3911.  
  3912. æKY GetShapeColorSpace
  3913. æFc Graphics Libraries.h
  3914. æT function
  3915. æD
  3916. gxColorSpace GetShapeColorSpace(gxShape target);
  3917.  
  3918. æKY GetShapeColorProfile
  3919. æFc Graphics Libraries.h
  3920. æT function
  3921. æD
  3922. gxColorProfile GetShapeColorProfile(gxShape source);
  3923.  
  3924. æKY GetShapeColorSet
  3925. æFc Graphics Libraries.h
  3926. æT function
  3927. æD
  3928. gxColorSet GetShapeColorSet(gxShape source);
  3929.  
  3930. æKY GetInkColorSpace
  3931. æFc Graphics Libraries.h
  3932. æT function
  3933. æD
  3934. gxColorSpace GetInkColorSpace(gxInk target);
  3935.  
  3936. æKY GetInkColorProfile
  3937. æFc Graphics Libraries.h
  3938. æT function
  3939. æD
  3940. gxColorProfile GetInkColorProfile(gxInk source);
  3941.  
  3942. æKY GetInkColorSet
  3943. æFc Graphics Libraries.h
  3944. æT function
  3945. æD
  3946. gxColorSet GetInkColorSet(gxInk source);
  3947.  
  3948. æKY SetShapeColorSpace
  3949. æFc Graphics Libraries.h
  3950. æT function
  3951. æD
  3952. void SetShapeColorSpace(gxShape target, gxColorSpace space);
  3953.  
  3954. æKY SetShapeColorProfile
  3955. æFc Graphics Libraries.h
  3956. æT function
  3957. æD
  3958. void SetShapeColorProfile(gxShape target, gxColorProfile profile);
  3959.  
  3960. æKY SetShapeColorSet
  3961. æFc Graphics Libraries.h
  3962. æT function
  3963. æD
  3964. void SetShapeColorSet(gxShape target, gxColorSet set);
  3965.  
  3966. æKY SetInkColorSpace
  3967. æFc Graphics Libraries.h
  3968. æT function
  3969. æD
  3970. void SetInkColorSpace(gxInk target, gxColorSpace space);
  3971.  
  3972. æKY SetInkColorProfile
  3973. æFc Graphics Libraries.h
  3974. æT function
  3975. æD
  3976. void SetInkColorProfile(gxInk target, gxColorProfile profile);
  3977.  
  3978. æKY SetInkColorSet
  3979. æFc Graphics Libraries.h
  3980. æT function
  3981. æD
  3982. void SetInkColorSet(gxInk target, gxColorSet set);
  3983.  
  3984. æKY GetViewDeviceColorSet
  3985. æFc Graphics Libraries.h
  3986. æT function
  3987. æD
  3988. gxColorSet GetViewDeviceColorSet(gxViewDevice source);
  3989.  
  3990. æKY SetViewDeviceColorSet
  3991. æFc Graphics Libraries.h
  3992. æT function
  3993. æD
  3994. void SetViewDeviceColorSet(gxViewDevice target, gxColorSet set);
  3995.  
  3996. æKY GetViewDeviceColorProfile
  3997. æFc Graphics Libraries.h
  3998. æT function
  3999. æD
  4000. gxColorProfile GetViewDeviceColorProfile(gxViewDevice source);
  4001.  
  4002. æKY SetViewDeviceColorProfile
  4003. æFc Graphics Libraries.h
  4004. æT function
  4005. æD
  4006. void SetViewDeviceColorProfile(gxViewDevice target, gxColorProfile profile);
  4007.  
  4008. æKY GetColorSpaceComponents
  4009. æFc Graphics Libraries.h
  4010. æT function
  4011. æD
  4012. long GetColorSpaceComponents(gxColorSpace space);
  4013.  
  4014. æKY InitTransferMode
  4015. æFc Graphics Libraries.h
  4016. æT function
  4017. æD
  4018. void InitTransferMode(gxTransferMode *mode);
  4019.  
  4020. æKY SetCommonTransfer
  4021. æFc Graphics Libraries.h
  4022. æT function
  4023. æD
  4024. gxTransferMode *SetCommonTransfer(gxTransferMode *transferModeRecord, commonTransferMode mode, unsigned short opValue, const gxColor *opColor);
  4025.  
  4026. æKY TransmogrifyColor
  4027. æFc Graphics Libraries.h
  4028. æT function
  4029. æD
  4030. gxColor *TransmogrifyColor(gxColor *dstColor, const gxColor *srcColor, const gxTransferMode *);
  4031.  
  4032. æKY SetInkFastXorTransfer
  4033. æFc Graphics Libraries.h
  4034. æT function
  4035. æD
  4036. void SetInkFastXorTransfer(gxInk inky, gxViewDevice destDevice, gxViewPort destViewPort, gxColor *background, gxColor *result);
  4037.  
  4038. æKY SetShapeFastXorTransfer
  4039. æFc Graphics Libraries.h
  4040. æT function
  4041. æD
  4042. void SetShapeFastXorTransfer(gxShape source, gxColor *background, gxColor *result);
  4043.  
  4044. æKY NewCString
  4045. æFc Graphics Libraries.h
  4046. æT function
  4047. æD
  4048. gxShape NewCString(const char *cString, const gxPoint *position);
  4049.  
  4050. æKY NewPString
  4051. æFc Graphics Libraries.h
  4052. æT function
  4053. æD
  4054. gxShape NewPString(const char *pascalString, const gxPoint *position);
  4055.  
  4056. æKY NewChar
  4057. æFc Graphics Libraries.h
  4058. æT function
  4059. æD
  4060. gxShape NewChar(const char theChar, const gxPoint *position);
  4061.  
  4062. æKY SetCString
  4063. æFc Graphics Libraries.h
  4064. æT function
  4065. æD
  4066. void SetCString(gxShape target, const char *cString, const gxPoint *position);
  4067.  
  4068. æKY SetPString
  4069. æFc Graphics Libraries.h
  4070. æT function
  4071. æD
  4072. void SetPString(gxShape target, const char *pascalString, const gxPoint *position);
  4073.  
  4074. æKY SetChar
  4075. æFc Graphics Libraries.h
  4076. æT function
  4077. æD
  4078. void SetChar(gxShape target, const char theChar, const gxPoint *position);
  4079.  
  4080. æKY DrawCString
  4081. æFc Graphics Libraries.h
  4082. æT function
  4083. æD
  4084. void DrawCString(const char *cString, const gxPoint *position);
  4085.  
  4086. æKY DrawPString
  4087. æFc Graphics Libraries.h
  4088. æT function
  4089. æD
  4090. void DrawPString(const char *pascalString, const gxPoint *position);
  4091.  
  4092. æKY gDrawChar
  4093. æFc Graphics Libraries.h
  4094. æT function
  4095. æD
  4096. void gDrawChar(const char theChar, const gxPoint *position);
  4097.  
  4098. æKY FixTextWidth
  4099. æFc Graphics Libraries.h
  4100. æT function
  4101. æD
  4102. Fixed FixTextWidth(const unsigned char *string, short length);
  4103.  
  4104. æKY FixCStringWidth
  4105. æFc Graphics Libraries.h
  4106. æT function
  4107. æD
  4108. Fixed FixCStringWidth(const char *string);
  4109.  
  4110. æKY FixPStringWidth
  4111. æFc Graphics Libraries.h
  4112. æT function
  4113. æD
  4114. Fixed FixPStringWidth(const char *string);
  4115.  
  4116. æKY FixCharWidth
  4117. æFc Graphics Libraries.h
  4118. æT function
  4119. æD
  4120. Fixed FixCharWidth(char ch);
  4121.  
  4122. æKY GetShapeAdvance
  4123. æFc Graphics Libraries.h
  4124. æT function
  4125. æD
  4126. gxPoint *GetShapeAdvance(gxShape target, gxPoint *advance);
  4127.  
  4128. æKY SetGlyphText
  4129. æFc Graphics Libraries.h
  4130. æT function
  4131. æD
  4132. void SetGlyphText(gxShape target, const unsigned char *text, long length);
  4133.  
  4134. æKY SetGlyphAdvance
  4135. æFc Graphics Libraries.h
  4136. æT function
  4137. æD
  4138. void SetGlyphAdvance(gxShape target, const long advanceBits[]);
  4139.  
  4140. æKY SetGlyphStyles
  4141. æFc Graphics Libraries.h
  4142. æT function
  4143. æD
  4144. void SetGlyphStyles(gxShape target, const short styleRuns[], const gxStyle glyphStyles[]);
  4145.  
  4146. æKY GetGlyphText
  4147. æFc Graphics Libraries.h
  4148. æT function
  4149. æD
  4150. long GetGlyphText(gxShape source, unsigned char *text);
  4151.  
  4152. æKY GetGlyphAdvance
  4153. æFc Graphics Libraries.h
  4154. æT function
  4155. æD
  4156. long GetGlyphAdvance(gxShape source, long advanceBits[]);
  4157.  
  4158. æKY GetGlyphStyles
  4159. æFc Graphics Libraries.h
  4160. æT function
  4161. æD
  4162. long GetGlyphStyles(gxShape source, short styleRuns[], gxStyle glyphStyles[]);
  4163.  
  4164. æKY PolyToPolyMap
  4165. æFc Graphics Libraries.h
  4166. æT function
  4167. æD
  4168. void PolyToPolyMap(const gxPolygon *source, const gxPolygon *dest, gxMapping *mapping);
  4169.  
  4170. æKY PaintRectangle
  4171. æFc Graphics Libraries.h
  4172. æT function
  4173. æD
  4174. void PaintRectangle(const gxRectangle *source, commonColor color);
  4175.  
  4176. æKY PaintRectangle2
  4177. æFc Graphics Libraries.h
  4178. æT function
  4179. æD
  4180. void PaintRectangle2(const gxPoint *leftTop, const gxPoint *rightBottom, commonColor color);
  4181.  
  4182. æKY PaintRectangle4
  4183. æFc Graphics Libraries.h
  4184. æT function
  4185. æD
  4186. void PaintRectangle4(long left, long top, long right, long bottom, commonColor color);
  4187.  
  4188. æKY AddToPicture
  4189. æFc Graphics Libraries.h
  4190. æT function
  4191. æD
  4192. void AddToPicture(gxShape picture, gxShape newShape, gxStyle newStyle, gxInk newInk, gxTransform newTransform);
  4193.  
  4194. æKY InsertPictureItem
  4195. æFc Graphics Libraries.h
  4196. æT function
  4197. æD
  4198. void InsertPictureItem(gxShape picture, long index, gxShape newShape, gxStyle newStyle, gxInk newInk, gxTransform newTransform);
  4199.  
  4200. æKY GetPictureItem
  4201. æFc Graphics Libraries.h
  4202. æT function
  4203. æD
  4204. gxShape GetPictureItem(gxShape picture, long index, gxShape *destShape, gxStyle *destStyle, gxInk *destInk, gxTransform *destTransform);
  4205.  
  4206. æKY SetPictureItem
  4207. æFc Graphics Libraries.h
  4208. æT function
  4209. æD
  4210. void SetPictureItem(gxShape picture, long index, gxShape newShape, gxStyle newStyle, gxInk newInk, gxTransform newTransform);
  4211.  
  4212. æKY AddShapeUser
  4213. æFc Graphics Libraries.h
  4214. æT function
  4215. æD
  4216. void AddShapeUser(gxShape target, const void *data, long length, long type);
  4217.  
  4218. æKY GetShapeUser
  4219. æFc Graphics Libraries.h
  4220. æT function
  4221. æD
  4222. long GetShapeUser(gxShape source, void *data, long *length, long requestedType, long *foundType, long index);
  4223.  
  4224. æKY RemoveShapeUser
  4225. æFc Graphics Libraries.h
  4226. æT function
  4227. æD
  4228. void RemoveShapeUser(gxShape target, long type, long index);
  4229.  
  4230. æKY NewRamp
  4231. æFc Graphics Libraries.h
  4232. æT function
  4233. æD
  4234. gxShape NewRamp(const gxColor *firstColor, const gxColor *lastColor, long steps, const gxRectangle *bounds);
  4235.  
  4236. æKY DrawRamp
  4237. æFc Graphics Libraries.h
  4238. æT function
  4239. æD
  4240. void DrawRamp(const gxColor *firstColor, const gxColor *lastColor, long steps, const gxRectangle *bounds);
  4241.  
  4242. æKY NewCommonRamp
  4243. æFc Graphics Libraries.h
  4244. æT function
  4245. æD
  4246. gxShape NewCommonRamp(commonColor firstColor, commonColor lastColor, long steps, const gxRectangle *bounds);
  4247.  
  4248. æKY DrawCommonRamp
  4249. æFc Graphics Libraries.h
  4250. æT function
  4251. æD
  4252. void DrawCommonRamp(commonColor firstColor, commonColor lastColor, long steps, const gxRectangle *bounds);
  4253.  
  4254. æKY circleSlack
  4255. æFc Graphics Libraries.h
  4256. æT constant
  4257. æD
  4258. #define circleSlack ((fract)0x3504f334)
  4259.  
  4260. æC
  4261.  
  4262. If the points form a square, this slop will approximate a circle.
  4263.  
  4264. æKY openSpline
  4265.     closedSpline
  4266. æFc Graphics Libraries.h
  4267. æT constant
  4268. æD
  4269. enum { openSpline, closedSpline };
  4270.  
  4271. æC
  4272.  
  4273. Passed as the closed parameter.
  4274.  
  4275. æKY MirrorSpline
  4276. æFc Graphics Libraries.h
  4277. æT function
  4278. æD
  4279. gxShape MirrorSpline(long count, gxPoint *points, fract slack, boolean closed);
  4280.  
  4281. æKY OutsetShape
  4282. æFc Graphics Libraries.h
  4283. æT function
  4284. æD
  4285. void OutsetShape(gxShape source, Fixed distance);
  4286.  
  4287. æKY FrameShape
  4288. æFc Graphics Libraries.h
  4289. æT function
  4290. æD
  4291. void FrameShape(gxShape source, Fixed distance);
  4292.  
  4293. æKY gxAnyContext
  4294.     gxNeedClient
  4295.     gxNeedStack
  4296.     gxNeedHeap
  4297.     gxEnvironmentControl
  4298.     GXParameterCount
  4299. æFc Graphics Linkage.h
  4300. æT constant
  4301. æD
  4302. #define    gxAnyContext                    0x00
  4303. #define    gxNeedClient                    0x10
  4304. #define    gxNeedStack                        0x20
  4305. #define    gxNeedHeap                        0x40
  4306. #define    gxEnvironmentControl            0x80
  4307. #define    GXParameterCount(paramEntry)    ( (paramEntry) & 0x0F )
  4308.  
  4309. æKY QuickDrawGXTrap
  4310.     GXTrap
  4311.     GXInlineCode
  4312. æFc Graphics Linkage.h
  4313. æT constant
  4314. æD
  4315. #define    QuickDrawGXTrap        0xA832
  4316.  
  4317. #ifndef dontUseInLines
  4318.     #define GXTrap( x, environment ) ={0x303C, x, QuickDrawGXTrap}
  4319. #else
  4320.     #define GXTrap( x, environment )
  4321. #endif
  4322.  
  4323. #define GXInlineCode( x, environment ) GXTrap(x, environment)
  4324.  
  4325. æKY gestaltGraphicsVersion
  4326.     gestaltCurrentGraphicsVersion
  4327.     gestaltGraphicsAttr
  4328.     gestaltGraphicsIsDebugging
  4329.     gestaltGraphicsIsLoaded
  4330.     gestaltGraphicsIsPowerPC
  4331. æFc Graphics Macintosh.h
  4332. æT constant
  4333. æD
  4334. #define gestaltGraphicsVersion            'grfx'        /* gestalt version selector */
  4335. #define gestaltCurrentGraphicsVersion    0x00010000    /* the version described by these headers */
  4336.  
  4337. #define gestaltGraphicsAttr                'gfxa'        /* gestalt attributes selector */
  4338. #define gestaltGraphicsIsDebugging        0x00000001
  4339. #define gestaltGraphicsIsLoaded            0x00000002
  4340. #define gestaltGraphicsIsPowerPC        0x00000004
  4341.  
  4342. æKY defaultPollingHandlerFlags
  4343.     okToSwitchDuringPollFlag
  4344.     dontSwitchDuringPollFlag
  4345.     gxPollingHandlerFlags
  4346. æFc Graphics Macintosh.h
  4347. æT constant
  4348. æD
  4349. enum {
  4350.     defaultPollingHandlerFlags    = 0x00,
  4351.     okToSwitchDuringPollFlag    = 0x00,
  4352.     dontSwitchDuringPollFlag    = 0x01
  4353. };
  4354.  
  4355. typedef long gxPollingHandlerFlags;
  4356.  
  4357. æKY gxPollingHandlerProcPtr
  4358. æFc Graphics Macintosh.h
  4359. æT structure
  4360. æD
  4361. typedef void (*gxPollingHandlerProcPtr) (long reference, gxPollingHandlerFlags flags);
  4362.  
  4363. æKY GXGetGraphicsPollingHandler
  4364. æFc Graphics Macintosh.h
  4365. æT function
  4366. æD
  4367. gxPollingHandlerProcPtr GXGetGraphicsPollingHandler(long *reference)
  4368.     GXInlineCode(0x245, gxNeedClient);
  4369.  
  4370. æKY GXSetGraphicsPollingHandler
  4371. æFc Graphics Macintosh.h
  4372. æT function
  4373. æD
  4374. void GXSetGraphicsPollingHandler(gxPollingHandlerProcPtr handler, long reference)
  4375.     GXInlineCode(0x246, gxNeedClient);
  4376.  
  4377. æKY graphicsStateRecord
  4378.     graphicsState
  4379. æFc Graphics State Library.h
  4380. æT structure
  4381. æD
  4382. struct graphicsStateRecord {
  4383.     gxShape defaultShapes[gxPictureType - 1];
  4384. };
  4385.  
  4386. typedef struct graphicsStateRecord *graphicsState;
  4387.  
  4388. æKY NewGraphicsState
  4389. æFc Graphics State Library.h
  4390. æT function
  4391. æD
  4392. graphicsState NewGraphicsState(void);
  4393.  
  4394. æKY DisposeGraphicsState
  4395. æFc Graphics State Library.h
  4396. æT function
  4397. æD
  4398. void DisposeGraphicsState(graphicsState);
  4399.  
  4400. æKY GetGraphicsState
  4401. æFc Graphics State Library.h
  4402. æT function
  4403. æD
  4404. void GetGraphicsState(graphicsState);
  4405.  
  4406. æKY SetGraphicsState
  4407. æFc Graphics State Library.h
  4408. æT function
  4409. æD
  4410. void SetGraphicsState(graphicsState);
  4411.  
  4412. æKY SwapGraphicsState
  4413. æFc Graphics State Library.h
  4414. æT function
  4415. æD
  4416. graphicsState SwapGraphicsState(graphicsState);
  4417.  
  4418. æKY AddResFileFonts
  4419. æFc Graphics Toolbox Library.h
  4420. æT function
  4421. æD
  4422. long AddResFileFonts(short resFileID, gxFont** fontHandleOrNil);
  4423.  
  4424. æKY gxTranslationOptions
  4425.     gxDefaultOptionsTranslation
  4426.     gxOptimizedTranslation
  4427.     gxReplaceLineWidthTranslation
  4428.     gxSimpleScalingTranslation
  4429.     gxSimpleGeometryTranslation
  4430.     gxSimpleLinesTranslation
  4431.     gxLayoutTextTranslation
  4432.     gxRasterTargetTranslation
  4433.     gxPostScriptTargetTranslation
  4434.     gxVectorTargetTranslation
  4435.     gxTranslationOption
  4436. æFc Graphics Toolbox.h
  4437. æT constant
  4438. æD
  4439. enum gxTranslationOptions {
  4440.     gxDefaultOptionsTranslation        = 0x0000,
  4441.     gxOptimizedTranslation            = 0x0001,
  4442.     gxReplaceLineWidthTranslation    = 0x0002,
  4443.     gxSimpleScalingTranslation        = 0x0004,
  4444.     gxSimpleGeometryTranslation        = 0x0008,    /* implies simple scaling */
  4445.     gxSimpleLinesTranslation        = 0x000C,    /* implies simple geometry & scaling */
  4446.     gxLayoutTextTranslation            = 0x0010,    /* turn on gxLine layout (normally off) */
  4447.     gxRasterTargetTranslation        = 0x0020,
  4448.     gxPostScriptTargetTranslation    = 0x0040,
  4449.     gxVectorTargetTranslation        = 0x0080
  4450. };
  4451.  
  4452. typedef long gxTranslationOption;
  4453.  
  4454. æKY gxTranslationStatistics
  4455.     gxContainsFormsBegin
  4456.     gxContainsFormsEnd
  4457.     gxContainsPostScript
  4458.     gxContainsEmptyPostScript
  4459.     gxTranslationStatistic
  4460. æFc Graphics Toolbox.h
  4461. æT constant
  4462. æD
  4463. enum gxTranslationStatistics {
  4464.     gxContainsFormsBegin            = 0x0001,
  4465.     gxContainsFormsEnd                = 0x0002,
  4466.     gxContainsPostScript            = 0x0004,
  4467.     gxContainsEmptyPostScript        = 0x0008
  4468. };
  4469.  
  4470. typedef long gxTranslationStatistic;
  4471.  
  4472. æKY gxQuickDrawPictTag
  4473.     gxQuickDrawPict
  4474. æFc Graphics Toolbox.h
  4475. æT structure
  4476. æD
  4477. #define    gxQuickDrawPictTag        0x70696374    /* 'pict' */
  4478.  
  4479. struct gxQuickDrawPict {
  4480.     /* translator inputs */
  4481.     gxTranslationOption                options;
  4482.     Rect                            srcRect;
  4483.     Point                            styleStretch;
  4484.  
  4485.     /* size of quickdraw picture data */
  4486.     unsigned long                    dataLength;
  4487.  
  4488.     /* file alias */
  4489.     struct gxBitmapDataSourceAlias    alias;        
  4490. };
  4491.  
  4492. æKY gxShapeSpoolProcPtr
  4493.     gxShapeSpoolFunction
  4494. æFc Graphics Toolbox.h
  4495. æT structure
  4496. æD
  4497. typedef OSErr (*gxShapeSpoolProcPtr) (gxShape toSpool, long refCon);
  4498. typedef gxShapeSpoolProcPtr gxShapeSpoolFunction;
  4499.  
  4500. æKY gxUserViewPortFilterProcPtr
  4501.     gxUserViewPortFilter
  4502. æFc Graphics Toolbox.h
  4503. æT structure
  4504. æD
  4505. typedef void (*gxUserViewPortFilterProcPtr) (gxShape toFilter, gxViewPort portOrder, long refCon);
  4506. typedef gxUserViewPortFilterProcPtr gxUserViewPortFilter;
  4507.  
  4508. æKY gxConvertQDFontProcPtr
  4509.     gxConvertQDFontFunction
  4510. æFc Graphics Toolbox.h
  4511. æT structure
  4512. æD
  4513. typedef long (*gxConvertQDFontProcPtr) (gxStyle dst, long txFont, long txFace);
  4514. typedef gxConvertQDFontProcPtr gxConvertQDFontFunction;
  4515.  
  4516. æKY GXNewWindowViewPort
  4517. æFc Graphics Toolbox.h
  4518. æT function
  4519. æD
  4520. gxViewPort GXNewWindowViewPort(WindowPtr qdWindow)
  4521.     GXInlineCode(0x236, gxNeedClient|gxNeedHeap|gxNeedStack);
  4522.  
  4523. æKY GXGetWindowViewPort
  4524. æFc Graphics Toolbox.h
  4525. æT function
  4526. æD
  4527. gxViewPort GXGetWindowViewPort(WindowPtr qdWindow)
  4528.     GXInlineCode(0x237, gxNeedClient|gxNeedHeap|gxNeedStack);
  4529.  
  4530. æKY GXGetViewPortWindow
  4531. æFc Graphics Toolbox.h
  4532. æT function
  4533. æD
  4534. WindowPtr GXGetViewPortWindow(gxViewPort portOrder)
  4535.     GXInlineCode(0x238, gxNeedClient|gxNeedHeap|gxNeedStack);
  4536.  
  4537. æKY GXGetViewDeviceGDevice
  4538. æFc Graphics Toolbox.h
  4539. æT function
  4540. æD
  4541. GDHandle GXGetViewDeviceGDevice(gxViewDevice theDevice)
  4542.     GXInlineCode(0x239, gxNeedClient|gxNeedHeap|gxNeedStack);
  4543.  
  4544. æKY GXGetGDeviceViewDevice
  4545. æFc Graphics Toolbox.h
  4546. æT function
  4547. æD
  4548. gxViewDevice GXGetGDeviceViewDevice(GDHandle qdGDevice)
  4549.     GXInlineCode(0x23a, gxNeedClient|gxNeedHeap|gxNeedStack);
  4550.  
  4551. æKY GXConvertQDPoint
  4552. æFc Graphics Toolbox.h
  4553. æT function
  4554. æD
  4555. void GXConvertQDPoint(const Point *shortPt, gxViewPort portOrder, gxPoint *fixedPt)
  4556.     GXInlineCode(0x23b, gxNeedClient|gxNeedHeap|gxNeedStack);
  4557.  
  4558. æKY GXGetGlobalMouse
  4559. æFc Graphics Toolbox.h
  4560. æT function
  4561. æD
  4562. void GXGetGlobalMouse(gxPoint *globalPt)
  4563.     GXInlineCode(0x23c, gxNeedClient|gxNeedHeap|gxNeedStack);    /* return mouse location in fixed-gxPoint global space */
  4564.  
  4565. æKY GXGetViewPortMouse
  4566. æFc Graphics Toolbox.h
  4567. æT function
  4568. æD
  4569. void GXGetViewPortMouse(gxViewPort portOrder, gxPoint *localPt)
  4570.     GXInlineCode(0x23d, gxNeedClient|gxNeedHeap|gxNeedStack);    /* return fixed-gxPoint local mouse (gxViewPort == 0 --> default) */
  4571.  
  4572. æKY GXGetViewPortFilter
  4573. æFc Graphics Toolbox.h
  4574. æT function
  4575. æD
  4576. gxUserViewPortFilter GXGetViewPortFilter(gxViewPort portOrder, long *refCon)
  4577.     GXInlineCode(0x25e, gxNeedClient|gxNeedHeap|gxNeedStack);
  4578.  
  4579. æKY GXSetViewPortFilter
  4580. æFc Graphics Toolbox.h
  4581. æT function
  4582. æD
  4583. void GXSetViewPortFilter(gxViewPort portOrder, gxUserViewPortFilter filter, long refCon)
  4584.     GXInlineCode(0x23e, gxNeedClient|gxNeedHeap|gxNeedStack);
  4585.  
  4586. æKY GXInstallQDTranslator
  4587. æFc Graphics Toolbox.h
  4588. æT function
  4589. æD
  4590. void GXInstallQDTranslator(GrafPtr port, gxTranslationOption options, const Rect *srcRect, const Rect *dstRect, Point styleStrech, gxShapeSpoolFunction userFunction, void *reference)
  4591.     GXInlineCode(0x23f, gxNeedClient|gxNeedHeap|gxNeedStack);
  4592.  
  4593. æKY GXRemoveQDTranslator
  4594. æFc Graphics Toolbox.h
  4595. æT function
  4596. æD
  4597. gxTranslationStatistic GXRemoveQDTranslator(GrafPtr port, gxTranslationStatistic *statistic)
  4598.     GXInlineCode(0x240, gxNeedClient|gxNeedHeap|gxNeedStack);
  4599.  
  4600. æKY GXConvertPICTToShape
  4601. æFc Graphics Toolbox.h
  4602. æT function
  4603. æD
  4604. gxShape GXConvertPICTToShape(const PicHandle pict, gxTranslationOption options, const Rect *srcRect, const Rect *dstRect, Point styleStretch, gxShape destination, gxTranslationStatistic *stats)
  4605.     GXInlineCode(0x241, gxNeedClient|gxNeedHeap|gxNeedStack);
  4606.  
  4607. æKY GXConvertQDFont
  4608. æFc Graphics Toolbox.h
  4609. æT function
  4610. æD
  4611. long GXConvertQDFont(gxStyle theStyle, long txFont, long txFace)
  4612.     GXInlineCode(0x242, gxNeedClient|gxNeedHeap|gxNeedStack);
  4613.  
  4614. æKY GXGetConvertQDFont
  4615. æFc Graphics Toolbox.h
  4616. æT function
  4617. æD
  4618. gxConvertQDFontProcPtr GXGetConvertQDFont(void)
  4619.     GXInlineCode(0x243, gxAnyContext);
  4620.  
  4621. æKY GXSetConvertQDFont
  4622. æFc Graphics Toolbox.h
  4623. æT function
  4624. æD
  4625. void GXSetConvertQDFont(gxConvertQDFontProcPtr userFunction)
  4626.     GXInlineCode(0x244, gxAnyContext);
  4627.  
  4628. æKY creatorType
  4629.     bugEventClass
  4630.     getBugWindowEvent
  4631.     selectBugWindowPartEvent
  4632.     pasteBugTextEvent
  4633.     waitThenContinueEvent
  4634.     errorString
  4635.     chooseWindowPartBoolean
  4636.     quitGraphicsApBoolean
  4637. æFc GraphicsBug Library.h
  4638. æT constant
  4639. æD
  4640. #define creatorType                    'gBug'
  4641. #define bugEventClass                'gBug'
  4642. #define getBugWindowEvent            'gBWi'
  4643. #define selectBugWindowPartEvent    'gBWP'
  4644. #define pasteBugTextEvent            'gBPa'
  4645. #define waitThenContinueEvent        'gBWa'
  4646. #define errorString                    'errS'
  4647. #define chooseWindowPartBoolean     'cWPB'
  4648. #define quitGraphicsApBoolean        'qGAB'
  4649.  
  4650. æKY graphicsBugRequests
  4651.     noticeMessage
  4652.     warningMessage
  4653.     errorMessage
  4654.     debugMessage
  4655.     commandMessage
  4656. æFc GraphicsBug Library.h
  4657. æT constant
  4658. æD
  4659. enum graphicsBugRequests {
  4660.     noticeMessage,
  4661.     warningMessage,
  4662.     errorMessage,
  4663.     debugMessage,
  4664.     commandMessage
  4665. };
  4666.  
  4667. æKY graphicsBugStatus
  4668.     graphicsBugReady
  4669.     graphicsBugRunning
  4670.     graphicsBugBusy
  4671.     lastCommandError
  4672. æFc GraphicsBug Library.h
  4673. æT constant
  4674. æD
  4675. enum graphicsBugCommands {
  4676.     noAction,
  4677.     executeCommand
  4678. };
  4679.  
  4680. enum graphicsBugStatus {
  4681.     graphicsBugReady,
  4682.     graphicsBugRunning,
  4683.     graphicsBugBusy,
  4684.     lastCommandError
  4685. };
  4686.  
  4687. æKY graphicsBugParameters
  4688. æFc GraphicsBug Library.h
  4689. æT structure
  4690. æD
  4691. struct graphicsBugParameters {
  4692.     long            message;
  4693.     unsigned char    command;
  4694.     unsigned char    status;
  4695.     unsigned char    toggle;
  4696.     char            string[81];
  4697. };
  4698.  
  4699. æKY maximumIdle
  4700. æFc GraphicsBug Library.h
  4701. æT constant
  4702. æD
  4703. #define maximumIdle 25
  4704.  
  4705. æKY SendMessageToGraphicsBug
  4706. æFc GraphicsBug Library.h
  4707. æT function
  4708. æD
  4709. boolean SendMessageToGraphicsBug(long command, const char *str, unsigned long num, boolean waitForCompletion);
  4710.  
  4711. æKY DirectDebugMessageToGraphicsBug
  4712. æFc GraphicsBug Library.h
  4713. æT function
  4714. æD
  4715. void DirectDebugMessageToGraphicsBug(void);
  4716.  
  4717. æKY boolean
  4718. æFc Math Types.h
  4719. æT structure
  4720. æD
  4721. typedef unsigned char boolean;
  4722.  
  4723. æKY Fixed
  4724. æFc Math Types.h
  4725. æT structure
  4726. æD
  4727. #define fixed Fixed
  4728.  
  4729. æKY gxPoint
  4730. æFc Math Types.h
  4731. æT structure
  4732. æD
  4733. struct gxPoint {
  4734.     Fixed x;
  4735.     Fixed y;
  4736. };
  4737.  
  4738. æKY fract
  4739. æFc Math Types.h
  4740. æT structure
  4741. æD
  4742. typedef long fract;
  4743.  
  4744. æKY gxColorValue
  4745. æFc Math Types.h
  4746. æT structure
  4747. æD
  4748. typedef unsigned short gxColorValue;
  4749.  
  4750. æKY gxPolar
  4751. æFc Math Types.h
  4752. æT structure
  4753. æD
  4754. struct gxPolar {
  4755.     Fixed radius;
  4756.     Fixed angle;
  4757. };
  4758.  
  4759. æKY wide
  4760. æFc Math Types.h
  4761. æT structure
  4762. æD
  4763. struct wide {
  4764.     long hi;
  4765.     unsigned long lo;
  4766. };
  4767.  
  4768. æKY gxMapping
  4769. æFc Math Types.h
  4770. æT structure
  4771. æD
  4772. struct gxMapping {
  4773.     Fixed map[3][3];
  4774. };
  4775.  
  4776. æKY fixed1
  4777.     fract1
  4778.     gxColorValue1
  4779.     gxPositiveInfinity
  4780.     gxNegativeInfinity
  4781. æFc Math Types.h
  4782. æT constant
  4783. æD
  4784. #define fixed1    ((Fixed) 0x00010000)                /* fixed 1.0 */
  4785. #define fract1    ((fract) 0x40000000)                /* fract 1.0 */
  4786.  
  4787. #define gxColorValue1        ((gxColorValue) 0xFFFF)    /* gxColorValue 1.0 */
  4788. #define gxPositiveInfinity    ((Fixed) 0x7FFFFFFF)    /* for fixed and fract */
  4789. #define gxNegativeInfinity    ((Fixed) 0x80000000)    /* for fixed and fract */
  4790.  
  4791. æKY userSpool
  4792. æFc Storage Library.h
  4793. æT structure
  4794. æD
  4795. struct userSpool {
  4796.     gxSpoolBlock    spool;
  4797.     long            reference;
  4798.     long            position;
  4799.     long            size;
  4800.     void            *data;
  4801.     void            *userField;
  4802. };
  4803.  
  4804. æKY ShapeToHandle
  4805. æFc Storage Library.h
  4806. æT function
  4807. æD
  4808. Handle ShapeToHandle(gxShape source);
  4809.  
  4810. æKY HandleToShape
  4811. æFc Storage Library.h
  4812. æT function
  4813. æD
  4814. gxShape HandleToShape(Handle target, long count, const gxViewPort portList[]);
  4815.  
  4816. æKY ShapeToFRef
  4817. æFc Storage Library.h
  4818. æT function
  4819. æD
  4820. void ShapeToFRef(gxShape source, short fileRef);
  4821.  
  4822. æKY FRefToShape
  4823. æFc Storage Library.h
  4824. æT function
  4825. æD
  4826. gxShape FRefToShape(short fileRef, long count, const gxViewPort portList[]);
  4827.  
  4828. æKY ShapeToFile
  4829. æFc Storage Library.h
  4830. æT function
  4831. æD
  4832. void ShapeToFile(gxShape source, Str255 fileName, short vRefNum, OSType creator, OSType fileType);
  4833.  
  4834. æKY FileToShape
  4835. æFc Storage Library.h
  4836. æT function
  4837. æD
  4838. gxShape FileToShape(Str255 fileName, short vRefNum, long count, const gxViewPort portList[]);
  4839.  
  4840. æKY FontToHandle
  4841. æFc Storage Library.h
  4842. æT function
  4843. æD
  4844. Handle FontToHandle(gxFont fontID, long glyphBits[]);
  4845.  
  4846. æKY HandleToFont
  4847. æFc Storage Library.h
  4848. æT function
  4849. æD
  4850. gxFont HandleToFont(Handle source);
  4851.  
  4852. æKY ShortPointToFixed
  4853. æFc QD Library.h
  4854. æT function
  4855. æD
  4856. gxPoint *ShortPointToFixed(const Point *, gxPoint *);
  4857.  
  4858. æKY FixedPointToShort
  4859. æFc QD Library.h
  4860. æT function
  4861. æD
  4862. Point *FixedPointToShort(const gxPoint *, Point *);
  4863.  
  4864. æKY ShortRectToFixed
  4865. æFc QD Library.h
  4866. æT function
  4867. æD
  4868. gxRectangle *ShortRectToFixed(const Rect *, gxRectangle *);
  4869.  
  4870. æKY FixedRectToShort
  4871. æFc QD Library.h
  4872. æT function
  4873. æD
  4874. Rect *FixedRectToShort(const gxRectangle *, Rect *);
  4875.  
  4876. æKY CTableToColorSet
  4877. æFc QD Library.h
  4878. æT function
  4879. æD
  4880. gxColorSet CTableToColorSet(const CTabHandle);
  4881.  
  4882. æKY ColorSetToCTable
  4883. æFc QD Library.h
  4884. æT function
  4885. æD
  4886. CTabHandle ColorSetToCTable(const gxColorSet);
  4887.  
  4888. æKY ConvertFromQDBitmap
  4889. æFc QD Library.h
  4890. æT function
  4891. æD
  4892. gxBitmap *ConvertFromQDBitmap(const BitMap *, gxBitmap *);
  4893.  
  4894. æKY ConvertToQDBitmap
  4895. æFc QD Library.h
  4896. æT function
  4897. æD
  4898. BitMap *ConvertToQDBitmap(const gxBitmap *, BitMap *);
  4899.  
  4900. æKY BitMapToShape
  4901. æFc QD Library.h
  4902. æT function
  4903. æD
  4904. gxShape BitMapToShape(const BitMap *);
  4905.  
  4906. æKY PixMapToShape
  4907. æFc QD Library.h
  4908. æT function
  4909. æD
  4910. gxShape PixMapToShape(const PixMapHandle);
  4911.  
  4912. æKY GetPixMapShape
  4913. æFc QD Library.h
  4914. æT function
  4915. æD
  4916. gxShape GetPixMapShape(short resourceID);
  4917.  
  4918. æKY CICNToMask
  4919. æFc QD Library.h
  4920. æT function
  4921. æD
  4922. gxShape CICNToMask(CIconHandle iconH);
  4923.  
  4924. æKY CICNToShape
  4925. æFc QD Library.h
  4926. æT function
  4927. æD
  4928. gxShape CICNToShape(CIconHandle iconH);
  4929.  
  4930. æKY GetCICNMask
  4931. æFc QD Library.h
  4932. æT function
  4933. æD
  4934. gxShape GetCICNMask(long resourceID);
  4935.  
  4936. æKY GetCICNShape
  4937. æFc QD Library.h
  4938. æT function
  4939. æD
  4940. gxShape GetCICNShape(long resourceID);
  4941.  
  4942. æKY offscreen
  4943. æFc Offscreen Library.h
  4944. æT function
  4945. æD
  4946. struct offscreen {
  4947.     gxShape            draw;    /* a gxBitmap gxShape which, when drawn, will transfer the offscreen to the display */
  4948.     gxTransform        xform;    /* a gxTransform that will cause shapes owning it to draw offscreen. */
  4949.     gxViewDevice    device;    /* the offscreen gxViewDevice whose gxColorSpace, etc. you may change */
  4950.     gxViewPort        port;    /* the offscreen gxViewPort which may be placed in any gxTransform's gxViewPort list */
  4951.     gxViewGroup        group;    /* the global space in which the gxViewPort and gxViewDevice exist */
  4952. };
  4953.  
  4954. æKY viewPortBuffer
  4955. æFc Offscreen Library.h
  4956. æT function
  4957. æD
  4958. typedef struct viewPortBufferRecord **viewPortBuffer;
  4959.  
  4960. æKY CreateOffscreen
  4961. æFc Offscreen Library.h
  4962. æT function
  4963. æD
  4964. void CreateOffscreen(offscreen *target, gxShape bitmapShape);
  4965.  
  4966. æKY DisposeOffscreen
  4967. æFc Offscreen Library.h
  4968. æT function
  4969. æD
  4970. void DisposeOffscreen(offscreen *target);
  4971.  
  4972. æKY CopyToBitmaps
  4973. æFc Offscreen Library.h
  4974. æT function
  4975. æD
  4976. void CopyToBitmaps(gxShape target, gxShape source);
  4977.  
  4978. æKY NewViewPortBuffer
  4979. æFc Offscreen Library.h
  4980. æT function
  4981. æD
  4982. viewPortBuffer NewViewPortBuffer(gxViewPort originalPort);
  4983.  
  4984. æKY DisposeViewPortBuffer
  4985. æFc Offscreen Library.h
  4986. æT function
  4987. æD
  4988. void DisposeViewPortBuffer(viewPortBuffer target);
  4989.  
  4990. æKY ValidViewPortBuffer
  4991. æFc Offscreen Library.h
  4992. æT function
  4993. æD
  4994. boolean ValidViewPortBuffer(viewPortBuffer target);
  4995.  
  4996. æKY UpdateViewPortBuffer
  4997. æFc Offscreen Library.h
  4998. æT function
  4999. æD
  5000. boolean UpdateViewPortBuffer(viewPortBuffer target);
  5001.  
  5002. æKY GetViewPortBufferViewPort
  5003. æFc Offscreen Library.h
  5004. æT function
  5005. æD
  5006. gxViewPort GetViewPortBufferViewPort(viewPortBuffer source);
  5007.  
  5008. æKY GetViewPortBufferShape
  5009. æFc Offscreen Library.h
  5010. æT function
  5011. æD
  5012. gxShape GetViewPortBufferShape(viewPortBuffer source);
  5013.  
  5014. æKY GetCollectionItemCategory
  5015. æFc PrintingLibraries.h
  5016. æT function
  5017. æD
  5018. OSErr GetCollectionItemCategory (Collection,
  5019.                                    CollectionTag,
  5020.                                  long tagID,
  5021.                                  gxCollectionCategory *);
  5022.  
  5023. æKY SetCollectionItemCategory
  5024. æFc PrintingLibraries.h
  5025. æT function
  5026. æD
  5027. OSErr SetCollectionItemCategory (Collection,
  5028.                                    CollectionTag,
  5029.                                  long tagID,
  5030.                                  gxCollectionCategory);
  5031.  
  5032. æKY RemoveCollectionCategory
  5033. æFc PrintingLibraries.h
  5034. æT function
  5035. æD
  5036. OSErr RemoveCollectionCategory (Collection,
  5037.                                 gxCollectionCategory);
  5038.  
  5039. æKY GetCollectionItemLock
  5040. æFc PrintingLibraries.h
  5041. æT function
  5042. æD
  5043. OSErr GetCollectionItemLock (Collection,
  5044.                              CollectionTag,
  5045.                              long tagID,
  5046.                              Boolean *isLocked);
  5047.  
  5048. æKY SetCollectionItemLock
  5049. æFc PrintingLibraries.h
  5050. æT function
  5051. æD
  5052. OSErr SetCollectionItemLock (Collection,
  5053.                              CollectionTag,
  5054.                              long tagID,
  5055.                              Boolean lockIt);
  5056.  
  5057. æKY AddJobItem
  5058. æFc PrintingLibraries.h
  5059. æT function
  5060. æD
  5061. OSErr AddJobItem (gxJob, CollectionTag, long id, long itemSize, void *itemData);
  5062.  
  5063. æKY AddFormatItem
  5064. æFc PrintingLibraries.h
  5065. æT function
  5066. æD
  5067. OSErr AddFormatItem (gxFormat, CollectionTag, long id, long itemSize, void *itemData);
  5068.  
  5069. æKY AddVolatileJobItem
  5070. æFc PrintingLibraries.h
  5071. æT function
  5072. æD
  5073. OSErr AddVolatileJobItem (gxJob, CollectionTag, long id, long itemSize, void *itemData);
  5074.  
  5075. æKY AddVolatileFormatItem
  5076. æFc PrintingLibraries.h
  5077. æT function
  5078. æD
  5079. OSErr AddVolatileFormatItem (gxFormat, CollectionTag, long id, long itemSize, void *itemData);
  5080.  
  5081. æKY GetPaperTypeBaseType
  5082. æFc PrintingLibraries.h
  5083. æT function
  5084. æD
  5085. long GetPaperTypeBaseType (gxPaperType thePaperType);
  5086.  
  5087. æKY SetPaperTypeBaseType
  5088. æFc PrintingLibraries.h
  5089. æT function
  5090. æD
  5091. void SetPaperTypeBaseType (gxPaperType thePaperType, long theBasePaperType);
  5092.  
  5093. æKY GetPaperTypeCreator
  5094. æFc PrintingLibraries.h
  5095. æT function
  5096. æD
  5097. OSType GetPaperTypeCreator(gxPaperType    thePaperType);
  5098.  
  5099. æKY SetPaperTypeCreator
  5100. æFc PrintingLibraries.h
  5101. æT function
  5102. æD
  5103. void SetPaperTypeCreator (gxPaperType thePaperType, OSType theCreator);
  5104.  
  5105. æKY GetPaperTypeUnits
  5106. æFc PrintingLibraries.h
  5107. æT function
  5108. æD
  5109. unsigned char GetPaperTypeUnits (gxPaperType thePaperType);
  5110.  
  5111. æKY SetPaperTypeUnits
  5112. æFc PrintingLibraries.h
  5113. æT function
  5114. æD
  5115. void SetPaperTypeUnits (gxPaperType thePaperType, unsigned char theUnits);
  5116.  
  5117. æKY GetPaperTypeFlags
  5118. æFc PrintingLibraries.h
  5119. æT function
  5120. æD
  5121. unsigned long GetPaperTypeFlags (gxPaperType thePaperType);
  5122.  
  5123. æKY SetPaperTypeFlags
  5124. æFc PrintingLibraries.h
  5125. æT function
  5126. æD
  5127. void SetPaperTypeFlags (gxPaperType thePaperType, unsigned long theFlags);
  5128.  
  5129. æKY GetPaperTypeComment
  5130. æFc PrintingLibraries.h
  5131. æT function
  5132. æD
  5133. void GetPaperTypeComment (gxPaperType thePaperType, Str255 theComment);
  5134.  
  5135. æKY SetPaperTypeComment
  5136. æFc PrintingLibraries.h
  5137. æT function
  5138. æD
  5139. OSErr SetPaperTypeComment (gxPaperType    thePaperType, Str255 theComment);
  5140.  
  5141. æKY LockFormatPaperType
  5142. æFc PrintingLibraries.h
  5143. æT function
  5144. æD
  5145. void LockFormatPaperType (gxFormat, Boolean lockPaperType);
  5146.  
  5147. æKY GetJobFormatLineConstraint
  5148. æFc PrintingLibraries.h
  5149. æT function
  5150. æD
  5151. gxPositionConstraintTableHdl GetJobFormatLineConstraint(gxJob, gxPositionConstraintTableHdl);
  5152.  
  5153. æKY GetJobFormatFonts
  5154. æFc PrintingLibraries.h
  5155. æT function
  5156. æD
  5157. gxFontTableHdl GetJobFormatFonts(gxJob, gxFontTableHdl);
  5158.  
  5159. æKY GetJobFormatFontCommonStyles
  5160. æFc PrintingLibraries.h
  5161. æT function
  5162. æD
  5163. gxStyleNameTableHdl GetJobFormatFontCommonStyles(gxJob, gxFont, gxStyleNameTableHdl);
  5164.  
  5165. æKY GetJobFormatFontConstraint
  5166. æFc PrintingLibraries.h
  5167. æT function
  5168. æD
  5169. gxPositionConstraintTableHdl GetJobFormatFontConstraint(gxJob, gxFont, gxPositionConstraintTableHdl);
  5170.  
  5171. æKY SetStyleJobFormatCommonStyle
  5172. æFc PrintingLibraries.h
  5173. æT function
  5174. æD
  5175. gxStyle SetStyleJobFormatCommonStyle(gxJob, Str255, gxStyle);
  5176.  
  5177. æKY fontHeaderTag
  5178.     horizontalHeaderTag
  5179.     indexToLocationTag
  5180.     maximumProfileTag
  5181.     controlValueTag
  5182.     preProgramTag
  5183.     glyphDataTag
  5184.     horizontalMetricsTag
  5185.     verticalMetricsTag
  5186.     fontProgramTag
  5187.     bitmapLocationTag
  5188.     bitmapDataTag
  5189.     glyphVariationTag
  5190.     cvtVariationTag
  5191.     accentAttachmentTag
  5192.     postscriptGlyphNameTag
  5193.     verticalHeaderTag
  5194. æFc TrueType Library.h
  5195. æT constant
  5196. æD
  5197. #define fontHeaderTag            0x68656164    /* 'head' */
  5198. #define horizontalHeaderTag        0x68686561    /* 'hhea' */
  5199. #define indexToLocationTag        0x6c6f6361    /* 'loca' */
  5200. #define maximumProfileTag        0x6d617870    /* 'maxp' */
  5201. #define controlValueTag            0x63767420    /* 'cvt ' */
  5202. #define preProgramTag            0x70726570    /* 'prep' */
  5203. #define glyphDataTag            0x676c7966    /* 'glyf' */
  5204. #define horizontalMetricsTag    0x686d7478    /* 'hmtx' */
  5205. #define verticalMetricsTag        0x766d7478    /* 'vmtx' */
  5206. #define fontProgramTag            0x6670676d    /* 'fpgm' */
  5207. #define bitmapLocationTag        0x626c6f63    /* 'bloc' */
  5208. #define bitmapDataTag            0x62646174    /* 'bdat' */
  5209. #define glyphVariationTag        0x67766172    /* 'gvar' */
  5210. #define cvtVariationTag            0x63766172    /* 'cvar' */
  5211. #define accentAttachmentTag        0x61636e74    /* 'acnt' */
  5212. #define postscriptGlyphNameTag    0x706f7374    /* 'post' */
  5213. #define verticalHeaderTag        0x76686561    /* 'vhea' */
  5214.  
  5215. æKY glyphBoundingBox
  5216. æFc TrueType Library.h
  5217. æT structure
  5218. æD
  5219. struct glyphBoundingBox {
  5220.     short    xMin;
  5221.     short    yMin;
  5222.     short    xMax;
  5223.     short    yMax;
  5224. };
  5225.  
  5226. æKY ComputeGlyphBBox
  5227. æFc TrueType Library.h
  5228. æT function
  5229. æD
  5230. void ComputeGlyphBBox(register glyphBoundingBox* bbox, const short xArray[], const short yArray[], int counter);
  5231.  
  5232. æKY GetFontGlyphData
  5233. æFc TrueType Library.h
  5234. æT function
  5235. æD
  5236. long GetFontGlyphData(gxFont fontID, long index, void* userCopy);
  5237.  
  5238. æKY SetFontGlyphData
  5239. æFc TrueType Library.h
  5240. æT function
  5241. æD
  5242. void SetFontGlyphData(gxFont fontID, long index, long length, void* data);
  5243.  
  5244. æKY SetFontGlyphShape
  5245. æFc TrueType Library.h
  5246. æT function
  5247. æD
  5248. void SetFontGlyphShape(gxFont fontID, long glyphIndex, gxShape pathOrPolygon);
  5249.  
  5250. æKY GetFontGlyphOutline
  5251. æFc TrueType Library.h
  5252. æT function
  5253. æD
  5254. long GetFontGlyphOutline(gxFont fontID,
  5255.                          long glyphIndex,
  5256.                          short* contourCount,
  5257.                          short endPoint[],
  5258.                          unsigned char onCurve[],
  5259.                          short xCoord[],
  5260.                          short yCoord[],
  5261.                          short* instructionCount,
  5262.                          unsigned char instructions[],
  5263.                          glyphBoundingBox* bbox);
  5264.  
  5265. æKY SetFontGlyphOutline
  5266. æFc TrueType Library.h
  5267. æT function
  5268. æD
  5269. void SetFontGlyphOutline(gxFont fontID,
  5270.                          long glyphIndex,
  5271.                          long contourCount,
  5272.                          const short endPoint[],
  5273.                          const unsigned char onCurve[],
  5274.                          const short xCoord[],
  5275.                          const short yCoord[],
  5276.                          long instructionCount,
  5277.                          const unsigned char instructions[],
  5278.                          const glyphBoundingBox* bbox);
  5279.  
  5280. æKY gxAnyNumber
  5281. æFc Synonym Tags.h
  5282. æT constant
  5283. æD
  5284. #define gxAnyNumber 1
  5285.  
  5286. æKY gxPostScriptTag
  5287.     gxPostControlTag
  5288.     gxPsStateFlags
  5289.     gxNoSave
  5290.     gxPostControl
  5291. æFc Synonym Tags.h
  5292. æT constant
  5293. æD
  5294. #define gxPostScriptTag        0x706f7374    /* 'post' */
  5295. #define gxPostControlTag    0x70736374  /* 'psct' */
  5296.  
  5297. enum gxPsStateFlags {
  5298.     gxNoSave = 1    /* don't do save-restore around PS data */
  5299. };
  5300.  
  5301. struct gxPostControl {
  5302.     long        flags;            /* PostScript state flags */
  5303. };
  5304.  
  5305. æKY gxDashSynonymTag
  5306.     gxDashSynonym
  5307. æFc Synonym Tags.h
  5308. æT structure
  5309. æD
  5310. #define gxDashSynonymTag 0x73647368       /* 'sdsh' */
  5311.  
  5312. struct gxDashSynonym{
  5313.     long    size;                        /* number of elements in array */
  5314.     Fixed    dashLength[gxAnyNumber];    /* Array of dash lengths */
  5315. };
  5316.  
  5317. æKY gxLineCapSynonymTag
  5318.     gxLineCaps
  5319.     gxButtCap
  5320.     gxRoundCap
  5321.     gxSquareCap
  5322.     gxTriangleCap
  5323.     gxLineCapSynonym
  5324. æFc Synonym Tags.h
  5325. æT constant
  5326. æD
  5327. #define gxLineCapSynonymTag 0x6c636170    /* 'lcap' */
  5328.  
  5329. enum gxLineCaps {
  5330.     gxButtCap,
  5331.     gxRoundCap,
  5332.     gxSquareCap,
  5333.     gxTriangleCap
  5334. };
  5335.  
  5336. typedef long gxLineCapSynonym;            /* gxLine cap type */
  5337.  
  5338. æKY gxCubicSynonymTag
  5339.     gxCubicSynonym
  5340.     gxIgnoreFlag
  5341.     gxLineToFlag
  5342.     gxCurveToFlag
  5343.     gxMoveToFlag
  5344.     gxClosePathFlag
  5345.     gxCubicInstructionMask
  5346.     gxCubicSynonymFlags
  5347. æFc Synonym Tags.h
  5348. æT constant
  5349. æD
  5350. #define gxCubicSynonymTag 0x63756278      /* 'cubx' */
  5351.  
  5352. enum gxCubicSynonym {
  5353.     gxIgnoreFlag     =    0x0000,        /* Ignore this word, get next one */
  5354.     gxLineToFlag     =    0x0001,        /* Draw a gxLine to gxPoint following this flag */
  5355.     gxCurveToFlag     =   0x0002,        /* Draw a gxCurve through the 3 points following this flag */
  5356.     gxMoveToFlag     =    0x0003,        /* Start a new contour at the gxPoint following this flag */
  5357.     gxClosePathFlag =     0x0004        /* Close the contour */
  5358. };
  5359.  
  5360. #define gxCubicInstructionMask 0x000F    /* low four bits are gxPoint instructions */
  5361.  
  5362. typedef short gxCubicSynonymFlags;        /* Low four bits are instruction (moveto, lineto, curveto, closepath) */
  5363.  
  5364. æKY gxPatternSynonymTag
  5365.     gxPatterns
  5366.     gxHatch
  5367.     gxCrossHatch
  5368.     gxPatternSynonym
  5369. æFc Synonym Tags.h
  5370. æT constant
  5371. æD
  5372. #define gxPatternSynonymTag 0x7074726E    /* 'ptrn' */
  5373.  
  5374. enum gxPatterns {
  5375.     gxHatch,
  5376.     gxCrossHatch
  5377. };
  5378.  
  5379. struct gxPatternSynonym{
  5380.     long    patternType;    /* one of the gxPatterns: gxHatch or gxCrossHatch */
  5381.     Fixed    angle;            /* angle at which pattern is drawn */
  5382.     Fixed    spacing;        /* distance between two parallel pattern lines */
  5383.     Fixed    thickness;        /* thickness of the pattern */
  5384.     gxPoint    anchorPoint;    /* gxPoint with with respect to which pattern position is calculated */
  5385. };
  5386.  
  5387. æKY shapeControl
  5388. æFc Shape Controls Library.h
  5389. æT structure
  5390. æD
  5391. typedef struct shapeControlRecord **shapeControl;
  5392.  
  5393. æKY NewShapeControl
  5394.     DisposeShapeControl
  5395.     GetShapeControlSelection
  5396.     SetShapeControlsSelection
  5397.     GetShapeControlSelectionHandles
  5398.     SendEventToShapeControl
  5399.     InvalidateShapeControlShape
  5400.     InvalidateShapeControlRectangle
  5401.     UpdateShapeControl
  5402. æFc Shape Controls Library.h
  5403. æT function
  5404. æD
  5405. shapeControl NewShapeControl(gxShape items, gxShape background, gxShape foreground);
  5406. void DisposeShapeControl(shapeControl target);
  5407. gxShape GetShapeControlSelection(const shapeControl source);
  5408. void SetShapeControlsSelection(shapeControl target, gxShape shapesToSelect, boolean bringToFront, boolean replaceSelection);
  5409. gxShape GetShapeControlSelectionHandles(const shapeControl source);
  5410. boolean SendEventToShapeControl(shapeControl target, EventRecord *event);
  5411. void InvalidateShapeControlShape(shapeControl target, gxShape invalidShape);
  5412. void InvalidateShapeControlRectangle(shapeControl target, gxRectangle *bounds);
  5413. void UpdateShapeControl(shapeControl target);
  5414.  
  5415. æC
  5416.  
  5417. •    The item's shape passed in is used directly by the Shape Controls Library;
  5418.     the application may modify or look at it at any time. Note that if the
  5419.     application removes or adds a sub-shape (or changes a sub-shape
  5420.     in any way) then it needs to call InvalidShapeControlShape on the sub-shape.
  5421.  
  5422. •    The foreground and background shapes are also used directly by the
  5423.     Shape Controls Library and therefore can be modified at any time (and also
  5424.     must be invalidated). The background shape appears underneath all the items
  5425.     and the foreground shape appears above all the items, but below the control
  5426.     handles for the current selection.
  5427.  
  5428. •    The foreground and background shapes will both be modified slightly to draw to
  5429.     the same list of viewPorts that the items picture goes to. Other than this,
  5430.     they will not be changed.
  5431.  
  5432. •    GetShapeControlSelection and SetShapeControlSelection do NOT work directly with
  5433.     the selection picture inside the shape control; instead GetShapeControlSelection
  5434.     returns a completely new picture that contains all the sub-shapes of the item
  5435.     picture that are selected. The application must then dispose of this returned
  5436.     picture when it is through with it. SetShapeControlSelection will select all the
  5437.     sub-shapes of the items picture contained by shapesToSelect. The application may
  5438.     then dispose of this shapesToSelect picture. The shapesToSelect parameter may be a
  5439.     single sub-shape instead of a picture, but it must always be contained by the
  5440.     item's picture.
  5441.  
  5442. •    GetShapeControlSelectionHandles returns a copy of the shape that is drawn as
  5443.     the selection’s handles.
  5444.  
  5445. •    SendEventToShapeControl returns true if it handled the event and false if it
  5446.     didn’t. The events handled are:
  5447.  
  5448.         * keyDown: delete removes the item
  5449.         * mouseDown: in a destination gxViewPort for the item's picture,
  5450.           the selection will be tracked; any other mouse event will return false.
  5451.  
  5452. •    InvalidateShapeControlShape does NOT require that invalidShape be a member of
  5453.     the item's picture for the shape control. However, if invalidShape is a member
  5454.     and it is selected, then the control handles will be added to the invalid area
  5455.     also. An application should use this call when invalidating a picture containly
  5456.     several widely separated disjoint areas; it should probably use
  5457.     InvalidateShapeControlRectangle to invalidate other types of shapes.
  5458.  
  5459. •    UpdateShapeControl redraws all the invalid areas that have been recorded by
  5460.     calls to InvalidateShapeControlShape and InvalidateShapeControlRectangle.
  5461.  
  5462. •    The Shape Controls Library will try to allocate an offscreen buffer for each
  5463.     of the viewPorts that the item's picture draws into. If this buffer is allocated,
  5464.     then the manipulation of the sub-objects will be flicker-free.  If, on the other
  5465.     hand, there is not enough memory to allocate this buffer, then the
  5466.     Shape Controls Library will still work, but the objects will flicker quite a bit
  5467.     as they are manipulated.
  5468.  
  5469. æKY selectionExtremeEdge
  5470. æFc Selection Library.h
  5471. æT constant
  5472. æD
  5473. #define selectionExtremeEdge -1
  5474.  
  5475. æKY SelectionTypes
  5476.     emptySelection
  5477.     simpleCaret
  5478.     simpleRange
  5479.     discontiguousRange
  5480.     SelectionType
  5481. æFc Selection Library.h
  5482. æT constant
  5483. æD
  5484. enum SelectionTypes {
  5485.   emptySelection,
  5486.   simpleCaret,
  5487.   simpleRange,
  5488.   discontiguousRange
  5489. };
  5490.  
  5491. typedef unsigned short SelectionType;
  5492.  
  5493. æKY SelectionMatches
  5494.     notInSelection
  5495.     partlyInSelection
  5496.     fullyInSelection
  5497.     equalToSelection
  5498.     SelectionMatch
  5499. æFc Selection Library.h
  5500. æT constant
  5501. æD
  5502. enum SelectionMatches {
  5503.   notInSelection,
  5504.   partlyInSelection,
  5505.   fullyInSelection,
  5506.   equalToSelection
  5507. };
  5508.  
  5509. typedef unsigned short SelectionMatch;
  5510.  
  5511. æKY SelectionOffset
  5512. æFc Selection Library.h
  5513. æT structure
  5514. æD
  5515. typedef long SelectionOffset;
  5516.  
  5517. æKY SelectionOffsetRange
  5518. æFc Selection Library.h
  5519. æT structure
  5520. æD
  5521. struct SelectionOffsetRange {
  5522.   SelectionOffset minOffset;  /* earliest char */
  5523.   SelectionOffset maxOffset;  /* latest char */
  5524. };
  5525.  
  5526. æKY SelectionRanges
  5527.     CaretPiece
  5528.     Selection
  5529.     SelectionPtr
  5530.     SelectionHandle
  5531. æFc Selection Library.h
  5532. æT structure
  5533. æD
  5534. struct SelectionRanges {
  5535.   long                            rangeCount;
  5536.   struct SelectionOffsetRange    ranges[gxAnyNumber];
  5537. };
  5538.  
  5539. struct CaretPiece {
  5540.   SelectionOffset                offset;
  5541.   short                            leadingEdge;
  5542. };
  5543.  
  5544. struct Selection {
  5545.     SelectionType                type;
  5546.   union {
  5547.     struct CaretPiece            caret;
  5548.     struct SelectionRanges        range;
  5549.     } data;
  5550. };
  5551.  
  5552. typedef struct Selection* SelectionPtr, ** SelectionHandle;
  5553.  
  5554. æKY NewEmptySelection
  5555. æFc Selection Library.h
  5556. æT function
  5557. æD
  5558. SelectionHandle NewEmptySelection(void);
  5559.  
  5560. æKY NewCaretSelection
  5561. æFc Selection Library.h
  5562. æT function
  5563. æD
  5564. SelectionHandle NewCaretSelection(SelectionOffset offset, long leadingEdge);
  5565.  
  5566. æKY NewRangeSelection
  5567. æFc Selection Library.h
  5568. æT function
  5569. æD
  5570. SelectionHandle NewRangeSelection(SelectionOffsetRange *range);
  5571.  
  5572. æKY NewFullSelection
  5573. æFc Selection Library.h
  5574. æT function
  5575. æD
  5576. SelectionHandle NewFullSelection(void);
  5577.  
  5578. æKY NewStartSelection
  5579. æFc Selection Library.h
  5580. æT function
  5581. æD
  5582. SelectionHandle NewStartSelection(SelectionOffset toOffset);
  5583.  
  5584. æKY NewEndSelection
  5585. æFc Selection Library.h
  5586. æT function
  5587. æD
  5588. SelectionHandle NewEndSelection(SelectionOffset fromOffset);
  5589.  
  5590. æKY SetEmptySelection
  5591. æFc Selection Library.h
  5592. æT function
  5593. æD
  5594. void SetEmptySelection(SelectionHandle selection);
  5595.  
  5596. æKY SetCaretSelection
  5597. æFc Selection Library.h
  5598. æT function
  5599. æD
  5600. void SetCaretSelection(SelectionHandle selection, SelectionOffset offset, long leadingEdge);
  5601.  
  5602. æKY SetRangeSelection
  5603. æFc Selection Library.h
  5604. æT function
  5605. æD
  5606. void SetRangeSelection(SelectionHandle selection, SelectionOffsetRange *range);
  5607.  
  5608. æKY SetFullSelection
  5609. æFc Selection Library.h
  5610. æT function
  5611. æD
  5612. void SetFullSelection(SelectionHandle selection);
  5613.  
  5614. æKY SetStartSelection
  5615. æFc Selection Library.h
  5616. æT function
  5617. æD
  5618. void SetStartSelection(SelectionHandle selection, SelectionOffset toOffset);
  5619.  
  5620. æKY SetEndSelection
  5621. æFc Selection Library.h
  5622. æT function
  5623. æD
  5624. void SetEndSelection(SelectionHandle selection, SelectionOffset fromOffset);
  5625.  
  5626. æKY DisposeSelection
  5627. æFc Selection Library.h
  5628. æT function
  5629. æD
  5630. void DisposeSelection(SelectionHandle selection);
  5631.  
  5632. æKY GetSelectionType
  5633. æFc Selection Library.h
  5634. æT function
  5635. æD
  5636. SelectionType GetSelectionType(SelectionHandle selection);
  5637.  
  5638. æKY GetCaretSelection
  5639. æFc Selection Library.h
  5640. æT function
  5641. æD
  5642. SelectionOffset GetCaretSelection(SelectionHandle selection, boolean *leadingEdge);
  5643.  
  5644. æKY GetRangeSelection
  5645. æFc Selection Library.h
  5646. æT function
  5647. æD
  5648. long GetRangeSelection(SelectionHandle selection, SelectionRanges *selectionRanges);
  5649.  
  5650. æKY RangeInSelection
  5651. æFc Selection Library.h
  5652. æT function
  5653. æD
  5654. SelectionMatch RangeInSelection(SelectionHandle selection, SelectionOffsetRange *range);
  5655.  
  5656. æKY InvertSelection
  5657. æFc Selection Library.h
  5658. æT function
  5659. æD
  5660. void InvertSelection(SelectionHandle dest);
  5661.  
  5662. æKY ShiftSelection
  5663. æFc Selection Library.h
  5664. æT function
  5665. æD
  5666. void ShiftSelection(SelectionHandle dest, SelectionOffset delta);
  5667.  
  5668. æKY UnionSelection
  5669. æFc Selection Library.h
  5670. æT function
  5671. æD
  5672. void UnionSelection(SelectionHandle dest, SelectionHandle source);
  5673.  
  5674. æKY SectSelection
  5675. æFc Selection Library.h
  5676. æT function
  5677. æD
  5678. void SectSelection(SelectionHandle dest, SelectionHandle source);
  5679.  
  5680. æKY XorSelection
  5681. æFc Selection Library.h
  5682. æT function
  5683. æD
  5684. void XorSelection(SelectionHandle dest, SelectionHandle source);
  5685.  
  5686. æKY DiffSelection
  5687. æFc Selection Library.h
  5688. æT function
  5689. æD
  5690. void DiffSelection(SelectionHandle dest, SelectionHandle source);
  5691.  
  5692. æKY GetLayoutSelection
  5693. æFc Selection Library.h
  5694. æT structure
  5695. æD
  5696. gxShape GetLayoutSelection(
  5697.   gxShape            layout,
  5698.   SelectionHandle    selection,
  5699.   SelectionOffset    lineStart,
  5700.   gxHighlightType    highlightType,
  5701.   gxCaretType        caretType);
  5702.  
  5703. æKY NewDiscontiguousSelection
  5704. æFc Selection Library.h
  5705. æT function
  5706. æD
  5707. SelectionHandle NewDiscontiguousSelection(SelectionRanges *ranges);
  5708.  
  5709. æKY kScalerOpenSelect
  5710.     kScalerNewFontSelect
  5711.     kScalerNewVariationSelect
  5712.     kScalerNewTransformationSelect
  5713.     kScalerNewGlyphSelect
  5714.     kScalerStreamFontSelect
  5715.     kScalerKernGlyphsSelect
  5716.     kScalerCloseSelect
  5717. æFc Scaler Library.h
  5718. æT constant
  5719. æD
  5720. enum {
  5721.     kScalerOpenSelect = 0,
  5722.     kScalerNewFontSelect,
  5723.     kScalerNewVariationSelect,
  5724.     kScalerNewTransformationSelect,
  5725.     kScalerNewGlyphSelect,
  5726.     kScalerStreamFontSelect,
  5727.     kScalerKernGlyphsSelect,
  5728.     kScalerCloseSelect
  5729. };
  5730.  
  5731. æKY FontScalerOpen
  5732. æFc Scaler Library.h
  5733. æT function
  5734. æD
  5735. scalerError FontScalerOpen( scalerContext* context, scalerInfo* theInfo);
  5736.  
  5737. æKY FontScalerNewFont
  5738. æFc Scaler Library.h
  5739. æT function
  5740. æD
  5741. scalerError FontScalerNewFont( scalerContext* context, scalerFontInfo* info);
  5742.  
  5743. æKY FontScalerNewVariation
  5744. æFc Scaler Library.h
  5745. æT function
  5746. æD
  5747. scalerError FontScalerNewVariation( scalerContext* context, long count, const gxFontVariation variation[]);
  5748.  
  5749. æKY FontScalerNewTransform
  5750. æFc Scaler Library.h
  5751. æT function
  5752. æD
  5753. scalerError FontScalerNewTransform( scalerContext* context, const scalerTransform* trans, scalerTransformInfo* info);
  5754.  
  5755. æKY FontScalerNewGlyph
  5756. æFc Scaler Library.h
  5757. æT function
  5758. æD
  5759. scalerError FontScalerNewGlyph( scalerContext* context, const scalerGlyph* glyph, scalerMetrics* theMetrics, scalerBitmap* bitImage, void* outlineData);
  5760.  
  5761. æKY FontScalerStreamFont
  5762. æFc Scaler Library.h
  5763. æT function
  5764. æD
  5765. scalerError FontScalerStreamFont( scalerContext* context, scalerStream* stream);
  5766.  
  5767. æKY FontScalerKernGlyphs
  5768. æFc Scaler Library.h
  5769. æT function
  5770. æD
  5771. scalerError FontScalerKernGlyphs( scalerContext* context, scalerKerning* kerning, gxPoint deltas[], scalerKerningNote flags[], gxPoint locations[]);
  5772.  
  5773. æKY FontScalerClose
  5774. æFc Scaler Library.h
  5775. æT function
  5776. æD
  5777. scalerError FontScalerClose( scalerContext* context);
  5778.  
  5779. æKY CloseAllOpenFontScalers
  5780. æFc Scaler Library.h
  5781. æT function
  5782. æD
  5783. void CloseAllOpenFontScalers(void);
  5784.  
  5785. æKY FSCCallNow
  5786. æFc Scaler Library.h
  5787. æT macro
  5788. æD
  5789. #define FSCCallNow(selector,size) = ComponentCallNow(selector,size)
  5790.  
  5791. æKY ComponentFontScalerOpen
  5792. æFc Scaler Library.h
  5793. æT function
  5794. æD
  5795. pascal ComponentResult ComponentFontScalerOpen(ComponentInstance c,
  5796.                                                scalerContext* context,
  5797.                                                scalerInfo* theInfo)
  5798. FSCCallNow( 0 /* kScalerOpenSelect */, 8 /* sizeof(scalerContext*)+sizeof(scalerInfo*) */ );
  5799.  
  5800. æKY ComponentFontScalerNewFont
  5801. æFc Scaler Library.h
  5802. æT function
  5803. æD
  5804. pascal ComponentResult ComponentFontScalerNewFont(ComponentInstance c,
  5805.                                                   scalerContext* context,
  5806.                                                   scalerFontInfo* info)
  5807. FSCCallNow( 1 /* kScalerNewFontSelect */, 8 /* sizeof(scalerContext*)+sizeof(scalerFontInfo*) */ );
  5808.  
  5809. æKY ComponentFontScalerNewVariation
  5810. æFc Scaler Library.h
  5811. æT function
  5812. æD
  5813. pascal ComponentResult ComponentFontScalerNewVariation(ComponentInstance c,
  5814.                                                        scalerContext* context,
  5815.                                                        long count,
  5816.                                                        const gxFontVariation variation[])
  5817. FSCCallNow( 2 /* kScalerNewVariationSelect */, 12 /* sizeof(scalerContext*)+sizeof(long)+sizeof(gxFontVariation*) */);
  5818.  
  5819. æKY ComponentFontScalerNewTransform
  5820. æFc Scaler Library.h
  5821. æT function
  5822. æD
  5823. pascal ComponentResult ComponentFontScalerNewTransform(ComponentInstance c,
  5824.                                                        scalerContext* context,
  5825.                                                        const scalerTransform* trans,
  5826.                                                        scalerTransformInfo* info)
  5827. FSCCallNow( 3  /* kScalerNewTransformationSelect */, 12 /* sizeof(scalerContext*)+sizeof(scalerTransform*)+sizeof(scalerTransformInfo*) */);
  5828.  
  5829. æKY ComponentFontScalerNewGlyph
  5830. æFc Scaler Library.h
  5831. æT function
  5832. æD
  5833. pascal ComponentResult ComponentFontScalerNewGlyph(ComponentInstance c,
  5834.                                                    scalerContext* context,
  5835.                                                    const scalerGlyph* glyph,
  5836.                                                    scalerMetrics* theMetrics,
  5837.                                                    scalerBitmap* bitImage,
  5838.                                                    void* outlineData)
  5839. FSCCallNow( 4 /* kScalerNewGlyphSelect */, 20 /* sizeof(scalerContext*)+sizeof(scalerGlyph*)+sizeof(scalerMetrics*)+sizeof(scalerBitmap*)+sizeof(void*) */);
  5840.  
  5841. æKY ComponentFontScalerStreamFont
  5842. æFc Scaler Library.h
  5843. æT function
  5844. æD
  5845. pascal ComponentResult ComponentFontScalerStreamFont(ComponentInstance c,
  5846.                                                      scalerContext* context,
  5847.                                                      scalerStream* Stream)
  5848. FSCCallNow( 5 /* kScalerStreamFontSelect */, 8 /* sizeof(scalerContext*)+sizeof(scalerStream*) */);
  5849.  
  5850. æKY ComponentScalerKernGlyphs
  5851. æFc Scaler Library.h
  5852. æT function
  5853. æD
  5854. pascal ComponentResult ComponentScalerKernGlyphs(ComponentInstance c,
  5855.                                                  scalerContext* context,
  5856.                                                  scalerKerning* kerning,
  5857.                                                  gxPoint deltas[],
  5858.                                                  scalerKerningNote flags[],
  5859.                                                  gxPoint locations[])
  5860. FSCCallNow( 6 /* kScalerKernGlyphsSelect */, 20 /* sizeof(scalerContext*)+sizeof(scalerKerning* )+sizeof(gxPoint*)+sizeof(gxPoint*)+sizeof(unsigned short*) */);
  5861.  
  5862. æKY ComponentFontScalerClose
  5863. æFc Scaler Library.h
  5864. æT function
  5865. æD
  5866. pascal ComponentResult ComponentFontScalerClose(ComponentInstance c, scalerContext* context)
  5867. FSCCallNow( 7 /* kScalerCloseSelect */, 4 /* sizeof(scalerContext*) */);
  5868.  
  5869. æKY StyleRunOverrides
  5870. æFc Layout Library.h
  5871. æT structure
  5872. æD
  5873. struct StyleRunOverrides {
  5874.   gxPriorityJustificationOverride    *priorityJustOverride;
  5875.   gxGlyphJustificationOverride        *glyphJustOverrides;
  5876.   long                                 glyphJustOverridesCount;
  5877.   gxGlyphSubstitution               *glyphSubstitutions;
  5878.   long                                 glyphSubstitutionsCount;
  5879.   gxKerningAdjustment                 *kerningAdjustments;
  5880.   long                              kerningAdjustmentsCount;
  5881. };
  5882.  
  5883. æKY ParagraphRecord
  5884.     ParagraphRecordHandle
  5885. æFc Layout Library.h
  5886. æT structure
  5887. æD
  5888. struct ParagraphRecord {
  5889.   short nLayouts;
  5890.   Fixed totalHeight;
  5891.   gxShape layouts[gxAnyNumber];
  5892. };
  5893.     
  5894. typedef struct ParagraphRecord** ParagraphRecordHandle;
  5895.  
  5896. æKY RunFeatureTypeName
  5897. æFc Layout Library.h
  5898. æT structure
  5899. æD
  5900. struct RunFeatureTypeName {
  5901.   gxRunFeatureType    featureType;
  5902.   unsigned short    nSelectors;
  5903.   unsigned short    selectorTableOffset;
  5904.   short              nameIndex;
  5905. };
  5906.  
  5907. æKY RunFeatureSelectorName
  5908. æFc Layout Library.h
  5909. æT structure
  5910. æD
  5911. struct RunFeatureSelectorName {
  5912.   gxRunFeatureSelector    featureSelector;
  5913.   short                 nameIndex;
  5914. };
  5915.  
  5916. æKY InitializeRunControls
  5917. æFc Layout Library.h
  5918. æT function
  5919. æD
  5920. void InitializeRunControls (gxRunControls *runControls);
  5921.  
  5922. æKY InitializeLayoutOptions
  5923. æFc Layout Library.h
  5924. æT function
  5925. æD
  5926. void InitializeLayoutOptions (gxLayoutOptions *layoutOptions);
  5927.  
  5928. æKY InitializeStyleRunOverrides
  5929. æFc Layout Library.h
  5930. æT function
  5931. æD
  5932. void InitializeStyleRunOverrides (StyleRunOverrides *overrides);
  5933.  
  5934. æKY SetDefaultPriorityJustOverride
  5935. æFc Layout Library.h
  5936. æT function
  5937. æD
  5938. void SetDefaultPriorityJustOverride (gxPriorityJustificationOverride *override);
  5939.  
  5940. æKY SetLayoutStyle
  5941. æFc Layout Library.h
  5942. æT structure
  5943. æD
  5944. void SetLayoutStyle (
  5945.   gxStyle             s,
  5946.   char                 *gxFontName,
  5947.   Fixed                textSize,
  5948.   gxTextAttribute      attr,
  5949.   gxRunControls        *runControls,
  5950.   gxRunFeature         runFeatures[],
  5951.   long                 runFeaturesCount,
  5952.   StyleRunOverrides    *overrides);
  5953.  
  5954. æKY NewLayoutStyle
  5955. æFc Layout Library.h
  5956. æT structure
  5957. æD
  5958. gxStyle NewLayoutStyle (
  5959.   char              *gxFontName,
  5960.   Fixed             textSize,
  5961.   gxTextAttribute     attr,
  5962.   gxRunControls       *runControls,
  5963.   gxRunFeature        runFeatures[],
  5964.   long              runFeaturesCount,
  5965.   StyleRunOverrides *overrides);
  5966.  
  5967. æKY NewSingleLayout
  5968. æFc Layout Library.h
  5969. æT structure
  5970. æD
  5971. gxShape NewSingleLayout (
  5972.   char                    *text,
  5973.   char                    *gxFontName,
  5974.   Fixed                    textSize,
  5975.   gxLayoutOptions        *options,
  5976.   gxPoint                 *position,
  5977.   gxTextAttribute         attr,
  5978.   gxRunControls           *runControls,
  5979.   gxRunFeature           runFeatures[],
  5980.   long                     runFeaturesCount,
  5981.   StyleRunOverrides        *overrides);
  5982.  
  5983. æKY NewParagraph
  5984.     NewStyledParagraph
  5985.     DisposeParagraph
  5986. æFc Layout Library.h
  5987. æT function
  5988. æD
  5989. ParagraphRecordHandle NewParagraph ( char *text,
  5990.                                      gxStyle baseStyle,
  5991.                                      Fixed width,
  5992.                                      long justified,            /* really a boolean; this way for compiler difference reasons */
  5993.                                      Fixed lineHeight,            /* if zero, we will deduce */
  5994.                                      gxPoint   *firstOrigin);    /* origin of first gxLine in paragraph */
  5995.  
  5996. ParagraphRecordHandle NewStyledParagraph( long textRunCount,
  5997.                                           const void *text[],
  5998.                                           const short textRunLengths[],
  5999.                                           long styleRunCount,
  6000.                                           const gxStyle styles[],
  6001.                                           const short styleRunLengths[],
  6002.                                           long levelRunCount,
  6003.                                           const short levels[],
  6004.                                           const short levelRunLengths[],
  6005.                                           long totalByteCount,
  6006.                                           const gxLayoutOptions *layoutOptions,
  6007.                                           Fixed lineHeight,
  6008.                                           const gxPoint *firstOrigin);
  6009.  
  6010. void DisposeParagraph(ParagraphRecordHandle paraRec);
  6011.  
  6012. æC
  6013.  
  6014. These functions provide a limited paragraph-creation function.
  6015. They make calls to GetWidthArray and do simple gxLine-breaking
  6016. using the obtained widths.
  6017.  
  6018. !!! IMPORTANT NOTE FOLLOWS !!!
  6019.  
  6020. These functions need to be able to deal with text in multiple
  6021. scripts, which might contain zero bytes. Therefore calls that
  6022. determine hard stops (such as NewParagraph) do NOT stop at zero
  6023. bytes; this means that just passing in a single C string is NOT
  6024. sufficient! Callers will need to add a carriage return themselves
  6025. to the end of the text source.
  6026.  
  6027. æKY GetLayoutBounds
  6028. æFc Layout Library.h
  6029. æT function
  6030. æD
  6031. gxShape GetLayoutBounds(gxShape layout);
  6032.  
  6033. æC
  6034.  
  6035. GetLayoutBounds can be used to return the bounds of a layout.
  6036.  
  6037. æKY LayoutEditHandle
  6038. æFc Layout Edit Library.h
  6039. æT structure
  6040. æD
  6041. typedef Handle LayoutEditHandle;
  6042.  
  6043. æKY NewLayoutEditHandle
  6044. æFc Layout Edit Library.h
  6045. æT function
  6046. æD
  6047. LayoutEditHandle NewLayoutEditHandle( long textRunCount,
  6048.                                       const short textRunLengths[],
  6049.                                       const void *text[],
  6050.                                       long styleRunCount,
  6051.                                       const short styleRunLengths[],
  6052.                                       const gxStyle styles[],
  6053.                                       long levelRunCount,
  6054.                                       const short levelRunLengths[],
  6055.                                       const short levels[],
  6056.                                       gxLayoutOptions *layoutOptions,
  6057.                                       gxPoint *position,
  6058.                                       gxStyle defaultStyle);
  6059.  
  6060. æKY LayoutEditHandleFromLayout
  6061. æFc Layout Edit Library.h
  6062. æT function
  6063. æD
  6064. LayoutEditHandle LayoutEditHandleFromLayout(gxShape layout);
  6065.  
  6066. æKY GetLayoutEditHandle
  6067. æFc Layout Edit Library.h
  6068. æT function
  6069. æD
  6070. long GetLayoutEditHandle( LayoutEditHandle handle,
  6071.                           void *text,
  6072.                           long *styleRunCount,
  6073.                           short styleRunLengths[],
  6074.                           gxStyle styles[],
  6075.                           long *levelRunCount,
  6076.                           short levelRunLengths[],
  6077.                           short levels[],
  6078.                           gxLayoutOptions *layoutOptions,
  6079.                           gxPoint *position);
  6080.  
  6081. æKY SetLayoutEditHandle
  6082. æFc Layout Edit Library.h
  6083. æT function
  6084. æD
  6085. void SetLayoutEditHandle( LayoutEditHandle handle,
  6086.                           long textRunCount,
  6087.                           const short textRunLengths[],
  6088.                           const void *text[],
  6089.                           long styleRunCount,
  6090.                           const short styleRunLengths[],
  6091.                           const gxStyle styles[],
  6092.                           long levelRunCount,
  6093.                           const short levelRunLengths[],
  6094.                           const short levels[],
  6095.                           const gxLayoutOptions *layoutOptions,
  6096.                           const gxPoint *position);
  6097.  
  6098. æKY SetLayoutEditHandleParts
  6099. æFc Layout Edit Library.h
  6100. æT function
  6101. æD
  6102. void SetLayoutEditHandleParts( LayoutEditHandle handle,
  6103.                                gxByteOffset oldStartOffset,
  6104.                                gxByteOffset oldEndOffset,
  6105.                                long newTextRunCount,
  6106.                                const short newTextRunLengths[],
  6107.                                const void *newText[],
  6108.                                long newStyleRunCount,
  6109.                                const short newStyleRunLengths[],
  6110.                                const gxStyle newStyles[],
  6111.                                long newLevelRunCount,
  6112.                                const short newLevelRunLengths[],
  6113.                                const short newLevels[]);
  6114.  
  6115. æKY SetLayoutEditHandleSelectedParts
  6116. æFc Layout Edit Library.h
  6117. æT function
  6118. æD
  6119. void SetLayoutEditHandleSelectedParts( LayoutEditHandle handle,
  6120.                                        long newTextRunCount,
  6121.                                        const short newTextRunLengths[],
  6122.                                        const void *newText[],
  6123.                                        long newStyleRunCount,
  6124.                                        const short newStyleRunLengths[],
  6125.                                        const gxStyle newStyles[],
  6126.                                        long newLevelRunCount,
  6127.                                        const short newLevelRunLengths[],
  6128.                                        const short newLevels[]);
  6129.  
  6130. æKY SetLayoutEditHandleShapeParts
  6131. æFc Layout Edit Library.h
  6132. æT function
  6133. æD
  6134. void SetLayoutEditHandleShapeParts( LayoutEditHandle handle,
  6135.                                     gxByteOffset startOffset,
  6136.                                     gxByteOffset endOffset,
  6137.                                     gxShape insert);
  6138.  
  6139. æKY GetLayoutEditHandleParts
  6140. æFc Layout Edit Library.h
  6141. æT function
  6142. æD
  6143. long GetLayoutEditHandleParts( LayoutEditHandle handle,
  6144.                                gxByteOffset startOffset,
  6145.                                gxByteOffset endOffset,
  6146.                                void *text,
  6147.                                long *styleRunCount,
  6148.                                short styleRunLengths[],
  6149.                                gxStyle styles[],
  6150.                                long *levelRunCount,
  6151.                                short levelRunLengths[],
  6152.                                short levels[]);
  6153.  
  6154. æKY GetLayoutEditHandleSelectedParts
  6155. æFc Layout Edit Library.h
  6156. æT function
  6157. æD
  6158. long GetLayoutEditHandleSelectedParts( LayoutEditHandle handle,
  6159.                                        void *text,
  6160.                                        long *styleRunCount,
  6161.                                        short styleRunLengths[],
  6162.                                        gxStyle styles[],
  6163.                                        long *levelRunCount,
  6164.                                        short levelRunLengths[],
  6165.                                        short levels[]);
  6166.  
  6167. æKY GetLayoutEditHandleShapeParts
  6168. æFc Layout Edit Library.h
  6169. æT function
  6170. æD
  6171. gxShape GetLayoutEditHandleShapeParts( LayoutEditHandle handle,
  6172.                                        gxByteOffset startOffset,
  6173.                                        gxByteOffset endOffset,
  6174.                                        gxShape dest);
  6175.  
  6176. æKY LayoutEditRotateShape
  6177. æFc Layout Edit Library.h
  6178. æT function
  6179. æD
  6180. void LayoutEditRotateShape(LayoutEditHandle handle, fixed degrees, fixed translateX, fixed translateY);
  6181.  
  6182. æKY LayoutEditIdle
  6183. æFc Layout Edit Library.h
  6184. æT function
  6185. æD
  6186. void LayoutEditIdle(LayoutEditHandle handle);
  6187.  
  6188. æKY LayoutEditClick
  6189. æFc Layout Edit Library.h
  6190. æT function
  6191. æD
  6192. void LayoutEditClick(LayoutEditHandle handle, gxPoint hitDown);
  6193.  
  6194. æKY LayoutEditActivate
  6195. æFc Layout Edit Library.h
  6196. æT function
  6197. æD
  6198. void LayoutEditActivate(LayoutEditHandle handle);
  6199.  
  6200. æKY LayoutEditDeactivate
  6201. æFc Layout Edit Library.h
  6202. æT function
  6203. æD
  6204. void LayoutEditDeactivate(LayoutEditHandle handle);
  6205.  
  6206. æKY LayoutEditKey
  6207. æFc Layout Edit Library.h
  6208. æT function
  6209. æD
  6210. void LayoutEditKey(LayoutEditHandle handle, char key);
  6211.  
  6212. æKY LayoutEditUpdate
  6213. æFc Layout Edit Library.h
  6214. æT function
  6215. æD
  6216. void LayoutEditUpdate(LayoutEditHandle handle);
  6217.  
  6218. æKY LayoutEditGetSelection
  6219. æFc Layout Edit Library.h
  6220. æT function
  6221. æD
  6222. SelectionHandle LayoutEditGetSelection(LayoutEditHandle handle);
  6223.  
  6224. æKY LayoutEditSetSelection
  6225. æFc Layout Edit Library.h
  6226. æT function
  6227. æD
  6228. void LayoutEditSetSelection(LayoutEditHandle handle, SelectionOffset start, SelectionOffset end);
  6229.  
  6230. æKY LayoutEditSetSelectionHandle
  6231. æFc Layout Edit Library.h
  6232. æT function
  6233. æD
  6234. void LayoutEditSetSelectionHandle(LayoutEditHandle handle, SelectionHandle selection);
  6235.  
  6236. æKY GetLayoutEditViewPort
  6237. æFc Layout Edit Library.h
  6238. æT function
  6239. æD
  6240. gxViewPort GetLayoutEditViewPort(LayoutEditHandle handle);
  6241.  
  6242. æKY LayoutEditSetStyle
  6243. æFc Layout Edit Library.h
  6244. æT function
  6245. æD
  6246. void LayoutEditSetStyle(LayoutEditHandle handle, gxStyle newStyle);
  6247.  
  6248. æKY LayoutEditIncrementLevel
  6249. æFc Layout Edit Library.h
  6250. æT function
  6251. æD
  6252. void LayoutEditIncrementLevel(LayoutEditHandle handle);
  6253.  
  6254. æKY LayoutEditDecrementLevel
  6255. æFc Layout Edit Library.h
  6256. æT function
  6257. æD
  6258. void LayoutEditDecrementLevel(LayoutEditHandle handle);
  6259.  
  6260. æKY LayoutEditSetLevel
  6261. æFc Layout Edit Library.h
  6262. æT function
  6263. æD
  6264. void LayoutEditSetLevel(LayoutEditHandle handle, long level);
  6265.  
  6266. æKY LayoutEditCut
  6267. æFc Layout Edit Library.h
  6268. æT function
  6269. æD
  6270. void LayoutEditCut(LayoutEditHandle handle);
  6271.  
  6272. æKY LayoutEditCopy
  6273. æFc Layout Edit Library.h
  6274. æT function
  6275. æD
  6276. void LayoutEditCopy(LayoutEditHandle handle);
  6277.  
  6278. æKY LayoutEditPaste
  6279. æFc Layout Edit Library.h
  6280. æT function
  6281. æD
  6282. void LayoutEditPaste(LayoutEditHandle handle);
  6283.  
  6284. æKY LayoutEditClear
  6285. æFc Layout Edit Library.h
  6286. æT function
  6287. æD
  6288. void LayoutEditClear(LayoutEditHandle handle);
  6289.  
  6290. æKY LayoutEditFromScrap
  6291. æFc Layout Edit Library.h
  6292. æT function
  6293. æD
  6294. void LayoutEditFromScrap(LayoutEditHandle handle);
  6295.  
  6296. æKY LayoutEditToScrap
  6297. æFc Layout Edit Library.h
  6298. æT function
  6299. æD
  6300. void LayoutEditToScrap(LayoutEditHandle handle);
  6301.  
  6302. æKY DisposeLayoutEditHandle
  6303. æFc Layout Edit Library.h
  6304. æT function
  6305. æD
  6306. void DisposeLayoutEditHandle(LayoutEditHandle handle);
  6307.  
  6308. æKY PrintingErrors
  6309.     GXPrintingErrors
  6310.     gxAioTimeout
  6311.     gxAioBadRqstState invalid state for op.
  6312.     gxAioBadConn
  6313.     gxAioInvalidXfer
  6314.     gxAioNoRqstBlks
  6315.     gxAioNoDataXfer
  6316.     gxAioTooManyAutos
  6317.     gxAioNoAutoStat
  6318.     gxAioBadRqstID
  6319.     gxAioCantKill
  6320.     gxAioAlreadyExists
  6321.     gxAioCantFind
  6322.     gxAioDeviceDisconn
  6323.     gxAioNotImplemented
  6324.     gxAioOpenPending
  6325.     gxAioNoProtocolData
  6326.     gxAioRqstKilled
  6327.     gxBadBaudRate
  6328.     gxBadParity
  6329.     gxBadStopBits
  6330.     gxBadDataBits
  6331.     gxBadPrinterName
  6332.     gxAioBadMsgType
  6333.     gxAioCantFindDevice
  6334.     gxAioOutOfSeq
  6335.     gxPrIOAbortErr
  6336.     gxPrUserAbortErr
  6337.     gxCantAddPanelsNowErr
  6338.     gxBadxdtlKeyErr
  6339.     gxXdtlItemOutOfRangeErr
  6340.     gxNoActionButtonErr
  6341.     gxTitlesTooLongErr
  6342.     gxUnknownAlertVersionErr
  6343.     gxGBBufferTooSmallErr
  6344.     gxInvalidPenTable
  6345.     gxIncompletePrintFileErr
  6346.     gxCrashedPrintFileErr
  6347.     gxInvalidPrintFileVersion
  6348.     gxSegmentLoadFailedErr
  6349.     gxExtensionNotFoundErr
  6350.     gxDriverVersionErr
  6351.     gxImagingSystemVersionErr
  6352.     gxFlattenVersionTooNew
  6353.     gxPaperTypeNotFound
  6354.     gxNoSuchPTGroup
  6355.     gxNotEnoughPrinterMemory
  6356.     gxDuplicatePanelNameErr
  6357. æFc PrintingErrors.h
  6358. æT constant
  6359. æD
  6360. gxAioTimeout                  = gxPrintingResultBase,        // -510 : Timeout condition occurred during op.
  6361. gxAioBadRqstState             = (gxPrintingResultBase - 1),    // -511 : Async I/O request in invalid state for op.
  6362. gxAioBadConn                 = (gxPrintingResultBase - 2),    // -512 : Invalid aio connection refnum
  6363. gxAioInvalidXfer              = (gxPrintingResultBase - 3),    // -513 : Read DataXferStruc contained bad values
  6364. gxAioNoRqstBlks                 = (gxPrintingResultBase - 4),    // -514 : No available request blocks to process request
  6365. gxAioNoDataXfer                 = (gxPrintingResultBase - 5),    // -515 : DataXferStruc pointer not specified
  6366. gxAioTooManyAutos              = (gxPrintingResultBase - 6),    // -516 : Auto status request already active
  6367. gxAioNoAutoStat                 = (gxPrintingResultBase - 7),    // -517 : Connection not configured for auto status
  6368. gxAioBadRqstID                  = (gxPrintingResultBase - 8),    // -518 : Invalid I/O request identifier
  6369. gxAioCantKill                  = (gxPrintingResultBase - 9),    // -519 : Comm. protocol doesn't support I/O term.
  6370. gxAioAlreadyExists              = (gxPrintingResultBase - 10),    // -520 : Protocol spec. data already specified
  6371. gxAioCantFind                 = (gxPrintingResultBase - 11),    // -521 : Protocol spec. data does not exist
  6372. gxAioDeviceDisconn             = (gxPrintingResultBase - 12),    // -522 : Machine disconnected from printer
  6373. gxAioNotImplemented             = (gxPrintingResultBase - 13),    // -523 : Function not implemented
  6374. gxAioOpenPending             = (gxPrintingResultBase - 14),    // -524 : Opening a connection for protocol, but another open pending
  6375. gxAioNoProtocolData              = (gxPrintingResultBase - 15),    // -525 : No protocol specific data specified in request
  6376. gxAioRqstKilled                  = (gxPrintingResultBase - 16),    // -526 : I/O request was terminated
  6377. gxBadBaudRate                 = (gxPrintingResultBase - 17),    // -527 : Invalid baud rate specified
  6378. gxBadParity                     = (gxPrintingResultBase - 18),    // -528 : Invalid parity specified
  6379. gxBadStopBits                 = (gxPrintingResultBase - 19),    // -529 : Invalid stop bits specified
  6380. gxBadDataBits                 = (gxPrintingResultBase - 20),    // -530 : Invalid data bits specified
  6381. gxBadPrinterName             = (gxPrintingResultBase - 21),    // -531 : Bad printer name specified
  6382. gxAioBadMsgType                 = (gxPrintingResultBase - 22),    // -532 : Bad masType field in xferInfo struc
  6383. gxAioCantFindDevice             = (gxPrintingResultBase - 23),    // -533 : Cannot locate target device
  6384. gxAioOutOfSeq                 = (gxPrintingResultBase - 24),    // -534 : Non-atomic SCSI requests submitted out of sequence
  6385.  
  6386. gxPrIOAbortErr                  = (gxPrintingResultBase - 25),    // -535
  6387. gxPrUserAbortErr             = (gxPrintingResultBase - 26),    // -536
  6388.  
  6389. //  RESULT CODES FOR THE DIALOGS
  6390.  
  6391. gxCantAddPanelsNowErr         = (gxPrintingResultBase - 27),    // -537 : panels can only be added during driver switch or before dialog is initiated
  6392. gxBadxdtlKeyErr                  = (gxPrintingResultBase - 28),    // -538 : unknown key for xdtl - must be radiobutton, etc
  6393. gxXdtlItemOutOfRangeErr          = (gxPrintingResultBase - 29),    // -539 : referenced item does not belong to panel
  6394. gxNoActionButtonErr           = (gxPrintingResultBase - 30),    // -540 : action button is nil
  6395. gxTitlesTooLongErr              = (gxPrintingResultBase - 31),    // -541 : length of buttons exceeds alert maximum width
  6396. gxUnknownAlertVersionErr      = (gxPrintingResultBase - 32),    // -542 : bad version for cool alerts
  6397.  
  6398. // RESULT CODES FOR BUFFERING
  6399.  
  6400. gxGBBufferTooSmallErr        = (gxPrintingResultBase - 33),    // -543
  6401.  
  6402. // RESULT CODES FOR VECTOR IMAGING
  6403.  
  6404. gxInvalidPenTable            = (gxPrintingResultBase - 34),    // -544
  6405.  
  6406. // RESULT CODES FOR PRINT FILES
  6407.  
  6408. gxIncompletePrintFileErr     = (gxPrintingResultBase - 35),    // -545
  6409. gxCrashedPrintFileErr         = (gxPrintingResultBase - 36),    // -546
  6410. gxInvalidPrintFileVersion     = (gxPrintingResultBase - 37),    // -547
  6411.  
  6412. // MISCELLANEOUS RESULT CODES FROM THE API
  6413.  
  6414. gxSegmentLoadFailedErr        = (gxPrintingResultBase - 38),    // -548
  6415. gxExtensionNotFoundErr        = (gxPrintingResultBase - 39),    // -549
  6416. gxDriverVersionErr            = (gxPrintingResultBase - 40),    // -550
  6417. gxImagingSystemVersionErr    = (gxPrintingResultBase - 41),    // -551
  6418. gxFlattenVersionTooNew      = (gxPrintingResultBase - 42),    // -552
  6419. gxPaperTypeNotFound         = (gxPrintingResultBase - 43),    // -553
  6420. gxNoSuchPTGroup                = (gxPrintingResultBase - 44),    // -554
  6421.  
  6422. // OTHER ERRORS
  6423.  
  6424. gxNotEnoughPrinterMemory    = (gxPrintingResultBase - 45),    // -555 : Printer does not have enough mem for fonts in document.
  6425. gxDuplicatePanelNameErr        = (gxPrintingResultBase - 46)    // -556 : panel name is not unique on add
  6426.  
  6427. æKY CopyToMapping
  6428. æFc Math Routines.h
  6429. æT function
  6430. æD
  6431. gxMapping *CopyToMapping(gxMapping *target, const gxMapping *source)
  6432.     GXInlineCode(0x31, gxNeedClient);
  6433.  
  6434. æKY InvertMapping
  6435. æFc Math Routines.h
  6436. æT function
  6437. æD
  6438. gxMapping *InvertMapping(gxMapping *target, const gxMapping *source)
  6439.     GXInlineCode(0x32, gxNeedClient);
  6440.  
  6441. æKY MapMapping
  6442. æFc Math Routines.h
  6443. æT function
  6444. æD
  6445. gxMapping *MapMapping(gxMapping *target, const gxMapping *source)
  6446.     GXInlineCode(0x33, gxNeedClient);
  6447.  
  6448. æKY MoveMapping
  6449. æFc Math Routines.h
  6450. æT function
  6451. æD
  6452. gxMapping *MoveMapping(gxMapping *target, Fixed hOffset, Fixed vOffset)
  6453.     GXInlineCode(0x34, gxNeedClient);
  6454.  
  6455. æKY MoveMappingTo
  6456. æFc Math Routines.h
  6457. æT function
  6458. æD
  6459. gxMapping *MoveMappingTo(gxMapping *target, Fixed hPosition, Fixed vPosition)
  6460.     GXInlineCode(0x35, gxNeedClient);
  6461.  
  6462. æKY NormalizeMapping
  6463. æFc Math Routines.h
  6464. æT function
  6465. æD
  6466. gxMapping *NormalizeMapping(gxMapping *target)
  6467.     GXInlineCode(0x36, gxNeedClient);
  6468.  
  6469. æKY RotateMapping
  6470. æFc Math Routines.h
  6471. æT function
  6472. æD
  6473. gxMapping *RotateMapping(gxMapping *target, Fixed angle, Fixed xCenter, Fixed yCenter)
  6474.     GXInlineCode(0x37, gxNeedClient);
  6475.  
  6476. æKY ScaleMapping
  6477. æFc Math Routines.h
  6478. æT function
  6479. æD
  6480. gxMapping *ScaleMapping(gxMapping *target, Fixed hFactor, Fixed vFactor, Fixed xCenter, Fixed yCenter)
  6481.     GXInlineCode(0x38, gxNeedClient);
  6482.  
  6483. æKY ResetMapping
  6484. æFc Math Routines.h
  6485. æT function
  6486. æD
  6487. gxMapping *ResetMapping(gxMapping *target)
  6488.     GXInlineCode(0x39, gxNeedClient);
  6489.  
  6490. æKY SkewMapping
  6491. æFc Math Routines.h
  6492. æT function
  6493. æD
  6494. gxMapping *SkewMapping(gxMapping *target, Fixed skewX, Fixed skewY, Fixed xCenter, Fixed yCenter)
  6495.     GXInlineCode(0x3a, gxNeedClient);
  6496.  
  6497. æKY MapPoints
  6498. æFc Math Routines.h
  6499. æT function
  6500. æD
  6501. void MapPoints(const gxMapping *source, long count, gxPoint vector[])
  6502.     GXInlineCode(0x3b, gxNeedClient);
  6503.  
  6504. æKY FirstBit
  6505. æFc Math Routines.h
  6506. æT function
  6507. æD
  6508. short FirstBit(unsigned long)
  6509.     GXInlineCode(0x3c, gxNeedClient);
  6510.  
  6511. æKY WideScale
  6512. æFc Math Routines.h
  6513. æT function
  6514. æD
  6515. short WideScale(const wide *source)
  6516.     GXInlineCode(0x3d, gxNeedClient);
  6517.  
  6518. æKY LinearRoot
  6519. æFc Math Routines.h
  6520. æT function
  6521. æD
  6522. short LinearRoot(Fixed first, Fixed last, fract t[])
  6523.     GXInlineCode(0x3e, gxNeedClient);
  6524.  
  6525. æKY QuadraticRoot
  6526. æFc Math Routines.h
  6527. æT function
  6528. æD
  6529. short QuadraticRoot(Fixed first, Fixed control, Fixed last, fract t[])
  6530.     GXInlineCode(0x3f, gxNeedClient);
  6531.  
  6532. æKY PolarToPoint
  6533. æFc Math Routines.h
  6534. æT function
  6535. æD
  6536. gxPoint *PolarToPoint(const gxPolar *, gxPoint *)
  6537.     GXInlineCode(0x40, gxNeedClient);
  6538.  
  6539. æKY PointToPolar
  6540. æFc Math Routines.h
  6541. æT function
  6542. æD
  6543. gxPolar *PointToPolar(const gxPoint *, gxPolar *)
  6544.     GXInlineCode(0x41, gxNeedClient);
  6545.  
  6546. æKY FractCubeRoot
  6547. æFc Math Routines.h
  6548. æT function
  6549. æD
  6550. fract FractCubeRoot(fract source)
  6551.     GXInlineCode(0x42, gxNeedClient);
  6552.  
  6553. æKY FractDivide
  6554. æFc Math Routines.h
  6555. æT function
  6556. æD
  6557. fract FractDivide(fract dividend, fract divisor)
  6558.     GXInlineCode(0x43, gxNeedClient);
  6559.  
  6560. æKY FractMultiply
  6561. æFc Math Routines.h
  6562. æT function
  6563. æD
  6564. fract FractMultiply(fract multiplicand, fract multiplier)
  6565.     GXInlineCode(0x44, gxNeedClient);
  6566.  
  6567. æKY FractSineCosine
  6568. æFc Math Routines.h
  6569. æT function
  6570. æD
  6571. fract FractSineCosine(Fixed degrees, fract *cosine)
  6572.     GXInlineCode(0x45, gxNeedClient);
  6573.  
  6574. æKY FractSquareRoot
  6575. æFc Math Routines.h
  6576. æT function
  6577. æD
  6578. fract FractSquareRoot(fract source)
  6579.     GXInlineCode(0x46, gxNeedClient);
  6580.  
  6581. æKY FixedDivide
  6582. æFc Math Routines.h
  6583. æT function
  6584. æD
  6585. Fixed FixedDivide(Fixed dividend, Fixed divisor)
  6586.     GXInlineCode(0x47, gxNeedClient);
  6587.  
  6588. æKY FixedMultiply
  6589. æFc Math Routines.h
  6590. æT function
  6591. æD
  6592. Fixed FixedMultiply(Fixed multiplicand, Fixed multiplier)
  6593.     GXInlineCode(0x48, gxNeedClient);
  6594.  
  6595. æKY MultiplyDivide
  6596. æFc Math Routines.h
  6597. æT function
  6598. æD
  6599. long MultiplyDivide(long source, long multiplier, long divisor)
  6600.     GXInlineCode(0x49, gxNeedClient);
  6601.  
  6602. æC
  6603.  
  6604. This call is (source * multiplier / divisor).
  6605. It avoids underflow, overflow by using wides.
  6606.  
  6607. æKY Magnitude
  6608. æFc Math Routines.h
  6609. æT function
  6610. æD
  6611. unsigned long Magnitude(long deltaX, long deltaY)
  6612.     GXInlineCode(0x4a, gxNeedClient);
  6613.  
  6614. æKY VectorMultiplyDivide
  6615. æFc Math Routines.h
  6616. æT function
  6617. æD
  6618. long VectorMultiplyDivide(long count,
  6619.                           const long *vector1,
  6620.                           long step1,
  6621.                           const long *vector2,
  6622.                           long step2,
  6623.                           long divisor)
  6624.     GXInlineCode(0x4b, gxNeedClient);
  6625.  
  6626. æKY WideAdd
  6627. æFc Math Routines.h
  6628. æT function
  6629. æD
  6630. wide *WideAdd(wide *target, const wide *source)
  6631.     GXInlineCode(0x4c, gxNeedClient);
  6632.  
  6633. æKY WideCompare
  6634. æFc Math Routines.h
  6635. æT function
  6636. æD
  6637. short WideCompare(const wide *target, const wide *source)
  6638.     GXInlineCode(0x4d, gxNeedClient);
  6639.  
  6640. æKY WideNegate
  6641. æFc Math Routines.h
  6642. æT function
  6643. æD
  6644. wide *WideNegate(wide *target)
  6645.     GXInlineCode(0x4e, gxNeedClient);
  6646.  
  6647. æKY WideShift
  6648. æFc Math Routines.h
  6649. æT function
  6650. æD
  6651. wide *WideShift(wide *target, long shift)
  6652.     GXInlineCode(0x4f, gxNeedClient);
  6653.  
  6654. æKY WideSquareRoot
  6655. æFc Math Routines.h
  6656. æT function
  6657. æD
  6658. unsigned long WideSquareRoot(const wide *source)
  6659.     GXInlineCode(0x50, gxNeedClient);
  6660.  
  6661. æKY WideSubtract
  6662. æFc Math Routines.h
  6663. æT function
  6664. æD
  6665. wide *WideSubtract(wide *target, const wide *source)
  6666.     GXInlineCode(0x51, gxNeedClient);
  6667.  
  6668. æKY WideMultiply
  6669. æFc Math Routines.h
  6670. æT function
  6671. æD
  6672. wide *WideMultiply(long multiplicand, long multiplier, wide *target)
  6673.     GXInlineCode(0x52, gxNeedClient);
  6674.  
  6675. æKY WideDivide
  6676. æFc Math Routines.h
  6677. æT function
  6678. æD
  6679. long WideDivide(const wide *dividend, long divisor, long *remainder)
  6680.     GXInlineCode(0x53, gxNeedClient);
  6681.  
  6682. æC
  6683.  
  6684. Returns the quotient.
  6685.  
  6686. æKY VectorMultiply
  6687. æFc Math Routines.h
  6688. æT function
  6689. æD
  6690. wide *VectorMultiply(long count,
  6691.                      const long *vector1,
  6692.                      long step1,
  6693.                      const long *vector2,
  6694.                      long step2,
  6695.                      wide *dot)
  6696.     GXInlineCode(0x54, gxNeedClient);
  6697.  
  6698. æKY WideWideDivide
  6699. æFc Math Routines.h
  6700. æT function
  6701. æD
  6702. wide *WideWideDivide(wide *dividend, long divisor, long *remainder)
  6703.     GXInlineCode(0x55, gxNeedClient);
  6704.  
  6705. æC
  6706.  
  6707. Quotient replaces dividend.
  6708.  
  6709. æKY RandomBits
  6710. æFc Math Routines.h
  6711. æT function
  6712. æD
  6713. unsigned long RandomBits(long count, long focus)
  6714.     GXInlineCode(0x56, gxNeedClient);
  6715.  
  6716. æKY SetRandomSeed
  6717. æFc Math Routines.h
  6718. æT function
  6719. æD
  6720. void SetRandomSeed(const wide *seed)
  6721.     GXInlineCode(0x57, gxNeedClient);
  6722.  
  6723. æKY GetRandomSeed
  6724. æFc Math Routines.h
  6725. æT function
  6726. æD
  6727. wide *GetRandomSeed(wide *seed)
  6728.     GXInlineCode(0x58, gxNeedClient);
  6729.  
  6730. æKY FixedRound
  6731. æFc Math Routines.h
  6732. æT macro
  6733. æD
  6734. #define FixedRound(a) ((short) ((Fixed) (a) + fixed1/2 >> 16))
  6735.  
  6736. æKY FixedSquareRoot
  6737. æFc Math Routines.h
  6738. æT macro
  6739. æD
  6740. #define FixedSquareRoot(a) ((Fixed)FractSquareRoot(a) + 64 >> 7)
  6741.  
  6742. æKY FixedTruncate
  6743. æFc Math Routines.h
  6744. æT macro
  6745. æD
  6746. #define FixedTruncate(a) ((short) ((Fixed) (a) >> 16))
  6747.  
  6748. æKY FixedToFract
  6749. æFc Math Routines.h
  6750. æT macro
  6751. æD
  6752. #define FixedToFract(a) ((fract) (a) << 14)
  6753.  
  6754. æKY FractToFixed
  6755. æFc Math Routines.h
  6756. æT macro
  6757. æD
  6758. #define FractToFixed(a) ((Fixed) (a) + 8192L >> 14)
  6759.  
  6760. æKY FixedToInt
  6761. æFc Math Routines.h
  6762. æT macro
  6763. æD
  6764. #define FixedToInt(a) ((short) ((Fixed) (a) + fixed1/2 >> 16))
  6765.  
  6766. æKY IntToFixed
  6767. æFc Math Routines.h
  6768. æT macro
  6769. æD
  6770. #define IntToFixed(a) ((Fixed) (a) << 16)
  6771.  
  6772. æKY FixedToFloat
  6773. æFc Math Routines.h
  6774. æT macro
  6775. æD
  6776. #define FixedToFloat(a) ((float) (a) / fixed1)
  6777.  
  6778. æKY FloatToFixed
  6779. æFc Math Routines.h
  6780. æT macro
  6781. æD
  6782. #define FloatToFixed(a) ((Fixed) ((float) (a) * fixed1))
  6783.  
  6784. æKY FractToFloat
  6785. æFc Math Routines.h
  6786. æT macro
  6787. æD
  6788. #define FractToFloat(a) ((float) (a) / fract1)
  6789.  
  6790. æKY FloatToFract
  6791. æFc Math Routines.h
  6792. æT macro
  6793. æD
  6794. #define FloatToFract(a) ((fract) ((float) (a) * fract1))
  6795.  
  6796. æKY ColorToFract
  6797. æFc Math Routines.h
  6798. æT macro
  6799. æD
  6800. #define ColorToFract(a) (((fract) (a) << 14) + ((fract) (a) + 2 >> 2))
  6801.  
  6802. æKY FractToColor
  6803. æFc Math Routines.h
  6804. æT macro
  6805. æD
  6806. #define FractToColor(a) ((gxColorValue) ((a) - ((a) >> 16) + 8191 >> 14))
  6807.  
  6808. æKY ff
  6809. æFc Math Routines.h
  6810. æT macro
  6811. æD
  6812. #define ff(a) IntToFixed(a)
  6813.  
  6814. æKY fl
  6815. æFc Math Routines.h
  6816. æT macro
  6817. æD
  6818. #define fl(a) FloatToFixed(a)
  6819.  
  6820. æKY sfntDirectoryEntry
  6821. æFc sfnt Types.h
  6822. æT structure
  6823. æD
  6824. struct sfntDirectoryEntry {
  6825.     gxFontTableTag            tableTag;
  6826.     unsigned long            checkSum;
  6827.     unsigned long            offset;
  6828.     unsigned long            length;
  6829. };
  6830.  
  6831. æKY sizeof_sfntDirectory
  6832.     sfntDirectory
  6833. æFc sfnt Types.h
  6834. æT structure
  6835. æD
  6836. #define sizeof_sfntDirectory        12
  6837.  
  6838. struct sfntDirectory {
  6839.     gxFontFormatTag                format;
  6840.     unsigned short                numOffsets;            /* number of tables */
  6841.     unsigned short                searchRange;        /* (max2 <= numOffsets)*16 */
  6842.     unsigned short                entrySelector;        /* log2(max2 <= numOffsets) */
  6843.     unsigned short                rangeShift;            /* numOffsets*16-searchRange*/
  6844.     struct sfntDirectoryEntry    table[gxAnyNumber];    /* table[numOffsets] */
  6845. };
  6846.  
  6847. æC
  6848.  
  6849. NOTE: The search fields limits numOffsets to 4096.
  6850.  
  6851. æKY cmapFontTableTag
  6852.     cmap
  6853.     'cmap'
  6854.     sfntCMapSubHeader
  6855.     sizeof_sfntCMapSubHeader
  6856.     sfntCMapEncoding
  6857.     sizeof_sfntCMapEncoding
  6858.     sfntCMapHeader
  6859.     sizeof_sfntCMapHeader
  6860. æFc sfnt Types.h
  6861. æT structure
  6862. æD
  6863. #define cmapFontTableTag        0x636d6170            /* 'cmap' */
  6864.  
  6865. struct sfntCMapSubHeader {
  6866.     unsigned short                format;
  6867.     unsigned short                length;
  6868.     unsigned short                languageID;            /* base-1 */
  6869. };
  6870.  
  6871. #define sizeof_sfntCMapSubHeader    6
  6872.  
  6873. struct sfntCMapEncoding {
  6874.     unsigned short                platformID;            /* base-0 */
  6875.     unsigned short                scriptID;            /* base-0 */
  6876.     unsigned long                offset;
  6877. };
  6878.  
  6879. #define sizeof_sfntCMapEncoding 8
  6880.  
  6881. struct sfntCMapHeader {
  6882.     unsigned short                version;
  6883.     unsigned short                numTables;
  6884.     struct sfntCMapEncoding        encoding[gxAnyNumber];
  6885. };
  6886.  
  6887. #define sizeof_sfntCMapHeader        4
  6888.  
  6889. æC
  6890.  
  6891. cmap - character id to glyph id gxMapping.
  6892.  
  6893. æKY nameFontTableTag
  6894.     name
  6895.     'name'
  6896.     sfntNameRecord
  6897.     sizeof_sfntNameRecord
  6898.     sfntNameHeader
  6899.     sizeof_sfntNameHeader
  6900. æFc sfnt Types.h
  6901. æT structure
  6902. æD
  6903. #define nameFontTableTag        0x6e616d65            /* 'name' */
  6904.  
  6905. struct sfntNameRecord {
  6906.     unsigned short                platformID;            /* base-0 */
  6907.     unsigned short                scriptID;            /* base-0 */
  6908.     unsigned short                languageID;            /* base-0 */
  6909.     unsigned short                nameID;                /* base-0 */
  6910.     unsigned short                length;
  6911.     unsigned short                offset;
  6912. };
  6913.  
  6914. #define sizeof_sfntNameRecord        12
  6915.  
  6916. struct sfntNameHeader {
  6917.     unsigned short                format;
  6918.     unsigned short                count;
  6919.     unsigned short                stringOffset;
  6920.     struct sfntNameRecord        record[gxAnyNumber];
  6921. };
  6922.  
  6923. #define sizeof_sfntNameHeader    6
  6924.  
  6925. æKY variationFontTableTag
  6926.     fvar
  6927.     'fvar'
  6928.     sfntVariationAxis
  6929.     sizeof_sfntVariationAxis
  6930.     sfntInstance
  6931.     sizeof_sfntInstance
  6932.     sfntVariationHeader
  6933.     sizeof_sfntVariationHeader
  6934. æFc sfnt Types.h
  6935. æT structure
  6936. æD
  6937. #define variationFontTableTag        0x66766172            /* 'fvar' */
  6938.  
  6939. /* These define each gxFont variation */
  6940.  
  6941. struct sfntVariationAxis {
  6942.     gxFontVariationTag        axisTag;
  6943.     Fixed                    minValue;
  6944.     Fixed                    defaultValue;
  6945.     Fixed                    maxValue;
  6946.     short                    flags;
  6947.     short                    nameID;
  6948. };
  6949.  
  6950. #define sizeof_sfntVariationAxis    20
  6951.  
  6952. /* These are named locations in gxStyle-space for the user */
  6953.  
  6954. struct sfntInstance {
  6955.     short                    nameID;
  6956.     short                    flags;
  6957.     Fixed                    coord[gxAnyNumber];    /* [axisCount] */
  6958.     /* room to grow since the header carries a tupleSize field */
  6959. };
  6960.  
  6961. #define sizeof_sfntInstance        4
  6962.  
  6963. struct sfntVariationHeader {
  6964.     Fixed                        version;                /* 1.0 Fixed */
  6965.     unsigned short                offsetToData;            /* to first axis = 16*/
  6966.     unsigned short                countSizePairs;            /* axis+inst = 2 */
  6967.     unsigned short                axisCount, axisSize;
  6968.     unsigned short                instanceCount;
  6969.     unsigned short                instanceSize;
  6970.     /* …other <count,size> pairs */
  6971.     struct sfntVariationAxis    axis[gxAnyNumber];        /* [axisCount] */
  6972.     struct sfntInstance            instance[gxAnyNumber];    /* [instanceCount] */
  6973.     /* …other arrays of data */
  6974. };
  6975.  
  6976. #define sizeof_sfntVariationHeader    16
  6977.  
  6978. æC
  6979.  
  6980. fvar table - gxFont variations.
  6981.  
  6982. æKY descriptorFontTableTag
  6983.     fdsc
  6984.     'fdsc'
  6985.     sfntDescriptorHeader
  6986.     sizeof_sfntDescriptorHeader
  6987. æFc sfnt Types.h
  6988. æT structure
  6989. æD
  6990. #define descriptorFontTableTag        0x66647363            /* 'fdsc' */
  6991.  
  6992. struct sfntDescriptorHeader {
  6993.     Fixed                    version;                    /* 1.0 in Fixed */
  6994.     long                    descriptorCount;
  6995.     gxFontDescriptor        descriptor[gxAnyNumber];
  6996. };
  6997.  
  6998. #define sizeof_sfntDescriptorHeader    8
  6999.  
  7000. æC
  7001.  
  7002. fdsc table - gxFont descriptor.
  7003.  
  7004. æKY featureFontTableTag
  7005.     feat
  7006.     'feat'
  7007.     sfntFeatureName
  7008.     sfntFontRunFeature
  7009.     sfntFeatureHeader
  7010. æFc sfnt Types.h
  7011. æT structure
  7012. æD
  7013. #define featureFontTableTag        0x66656174                /* 'feat' */
  7014.  
  7015. struct sfntFeatureName {
  7016.     unsigned short                featureType;
  7017.     unsigned short                settingCount;
  7018.     long                        offsetToSettings;
  7019.     unsigned short                featureFlags;
  7020.     unsigned short                nameID;
  7021. };
  7022.  
  7023. struct sfntFontRunFeature {
  7024.     unsigned short                featureType;
  7025.     unsigned short                setting;
  7026. };
  7027.  
  7028. struct sfntFeatureHeader {
  7029.     long                        version;                /* 1.0 */
  7030.     unsigned short                featureNameCount;
  7031.     unsigned short                featureSetCount;
  7032.     long                        reserved;                /* set to 0 */
  7033.     struct sfntFeatureName        names[gxAnyNumber];
  7034.     struct gxFontFeatureSetting    settings[gxAnyNumber];
  7035.     struct sfntFontRunFeature    runs[gxAnyNumber];
  7036. };
  7037.  
  7038. æC
  7039.  
  7040. feat Table - layout feature table.
  7041.  
  7042. æKY os2FontTableTag
  7043.     OS/2
  7044.     'OS/2'
  7045. æFc sfnt Types.h
  7046. æT constant
  7047. æD
  7048. #define os2FontTableTag            0x4f532f32            /* 'OS/2' */
  7049.  
  7050. æC
  7051.  
  7052. OS/2 font table.
  7053.  
  7054. æKY nonGlyphID
  7055. æFc sfnt Types.h
  7056. æT constant
  7057. æD
  7058. #define nonGlyphID                (65535)
  7059.  
  7060. æC
  7061.  
  7062. Special invalid glyph ID value, useful as a sentinel value, for example.
  7063.  
  7064. æKY pmgr
  7065.     'pmgr'
  7066.     gxPrintingManagerType
  7067. æFc PrintingResTypes.h
  7068. æT constant
  7069. æD
  7070. #define gxPrintingManagerType        'pmgr'
  7071.  
  7072. æKY gxis
  7073.     'gxis'
  7074.     gxImagingSystemType
  7075. æFc PrintingResTypes.h
  7076. æT constant
  7077. æD
  7078. #define gxImagingSystemType            'gxis'
  7079.  
  7080. æKY pdvr
  7081.     'pdvr'
  7082.     gxPrinterDriverType
  7083. æFc PrintingResTypes.h
  7084. æT constant
  7085. æD
  7086. #define gxPrinterDriverType            'pdvr'
  7087.  
  7088. æKY pext
  7089.     'pext'
  7090.     gxPrintingExtensionType
  7091. æFc PrintingResTypes.h
  7092. æT constant
  7093. æD
  7094. #define gxPrintingExtensionType        'pext'
  7095.  
  7096. æKY none
  7097.     'none'
  7098.     gxUnknownPrinterType
  7099. æFc PrintingResTypes.h
  7100. æT constant
  7101. æD
  7102. #define    gxUnknownPrinterType        'none'
  7103.  
  7104. æKY univ
  7105.     'univ'
  7106.     gxAnyPrinterType
  7107. æFc PrintingResTypes.h
  7108. æT constant
  7109. æD
  7110. #define    gxAnyPrinterType            'univ'
  7111.  
  7112. æKY qdrw
  7113.     'qdrw'
  7114.     gxQuickdrawPrinterType
  7115. æFc PrintingResTypes.h
  7116. æT constant
  7117. æD
  7118. #define    gxQuickdrawPrinterType        'qdrw'
  7119.  
  7120. æKY gxpd
  7121.     'gxpd'
  7122.     gxPortableDocPrinterType
  7123. æFc PrintingResTypes.h
  7124. æT constant
  7125. æD
  7126. #define    gxPortableDocPrinterType    'gxpd'
  7127.  
  7128. æKY rast
  7129.     'rast'
  7130.     gxRasterPrinterType
  7131. æFc PrintingResTypes.h
  7132. æT constant
  7133. æD
  7134. #define    gxRasterPrinterType            'rast'
  7135.  
  7136. æKY post
  7137.     'post'
  7138.     gxPostscriptPrinterType
  7139. æFc PrintingResTypes.h
  7140. æT constant
  7141. æD
  7142. #define    gxPostscriptPrinterType        'post'
  7143.  
  7144. æKY vect
  7145.     'vect'
  7146.     gxVectorPrinterType
  7147. æFc PrintingResTypes.h
  7148. æT constant
  7149. æD
  7150. #define    gxVectorPrinterType            'vect'
  7151.  
  7152. æKY gxPrintingTagID
  7153. æFc PrintingResTypes.h
  7154. æT constant
  7155. æD
  7156. #define gxPrintingTagID (-28672)
  7157.  
  7158. æC
  7159.  
  7160. Pre-defined printing collection tags have this ID.
  7161.  
  7162. æKY gxPrintingDriverBaseID
  7163.     gxPrintingExtensionBaseID
  7164. æFc PrintingResTypes.h
  7165. æT constant
  7166. æD
  7167. #define gxPrintingDriverBaseID (-27648)
  7168. #define gxPrintingExtensionBaseID (-27136)
  7169.  
  7170. æC
  7171.  
  7172. Resources in a printer driver or extension must be based off of these IDs
  7173.  
  7174. æKY GXPrintingMessages
  7175.     PrintingMessages
  7176.     gxInitialize
  7177.     gxShutDown
  7178.     gxJobIdle
  7179.     gxJobStatus
  7180.     gxPrintingEvent
  7181.     gxJobDefaultFormatDialog
  7182.     gxFormatDialog
  7183.     gxJobPrintDialog
  7184.     gxFilterPanelEvent
  7185.     gxHandlePanelEvent
  7186.     gxParsePageRange
  7187.     gxDefaultJob
  7188.     gxDefaultFormat
  7189.     gxDefaultPaperType
  7190.     gxDefaultPrinter
  7191.     gxCreateSpoolFile
  7192.     gxSpoolPage
  7193.     gxSpoolData
  7194.     gxSpoolResource
  7195.     gxCompleteSpoolFile
  7196.     gxCountPages
  7197.     gxDespoolPage
  7198.     gxDespoolData
  7199.     gxDespoolResource
  7200.     gxCloseSpoolFile
  7201.     gxStartJob
  7202.     gxFinishJob
  7203.     gxStartPage
  7204.     gxFinishPage
  7205.     gxPrintPage
  7206.     gxSetupImageData
  7207.     gxImageJob
  7208.     gxImageDocument
  7209.     gxImagePage
  7210.     gxRenderPage
  7211.     gxCreateImageFile
  7212.     gxOpenConnection
  7213.     gxCloseConnection
  7214.     gxStartSendPage
  7215.     gxFinishSendPage
  7216.     gxWriteData
  7217.     gxBufferData
  7218.     gxDumpBuffer
  7219.     gxFreeBuffer
  7220.     gxCheckStatus
  7221.     gxGetDeviceStatus
  7222.     gxFetchTaggedData
  7223.     gxGetDTPMenuList
  7224.     gxDTPMenuSelect
  7225.     gxHandleAlertFilter
  7226.     gxJobFormatModeQuery
  7227.     gxWriteStatusToDTPWindow
  7228.     gxInitializeStatusAlert
  7229.     gxHandleAlertStatus
  7230.     gxHandleAlertEvent
  7231.     gxCleanupStartJob
  7232.     gxCleanupStartPage
  7233.     gxCleanupOpenConnection
  7234.     gxCleanupStartSendPage
  7235.     gxDefaultDesktopPrinter
  7236.     gxCaptureOutputDevice
  7237.     gxOpenConnectionRetry
  7238.     gxExamineSpoolFile
  7239.     gxFinishSendPlane
  7240.     gxDoesPaperFit
  7241.     gxChooserMessage
  7242.     gxFindPrinterProfile
  7243.     gxFindFormatProfile
  7244.     gxSetPrinterProfile
  7245.     gxSetFormatProfile
  7246.     gxPrOpenDoc
  7247.     gxPrCloseDoc
  7248.     gxPrOpenPage
  7249.     gxPrClosePage
  7250.     gxPrintDefault
  7251.     gxPrStlDialog
  7252.     gxPrJobDialog
  7253.     gxPrStlInit
  7254.     gxPrJobInit
  7255.     gxPrDlgMain
  7256.     gxPrValidate
  7257.     gxPrJobMerge
  7258.     gxPrGeneral
  7259.     gxConvertPrintRecordTo
  7260.     gxConvertPrintRecordFrom
  7261.     gxPrintRecordToJob
  7262.     gxRasterDataIn
  7263.     gxRasterLineFeed
  7264.     gxRasterPackageBitmap
  7265.     gxPostscriptQueryPrinter
  7266.     gxPostscriptInitializePrinter
  7267.     gxPostscriptResetPrinter
  7268.     gxPostscriptExitServer
  7269.     gxPostscriptGetStatusText
  7270.     gxPostscriptGetPrinterText
  7271.     gxPostscriptScanStatusText
  7272.     gxPostscriptScanPrinterText
  7273.     gxPostscriptGetDocumentProcSetList
  7274.     gxPostscriptDownloadProcSetList
  7275.     gxPostscriptGetPrinterGlyphsInformation
  7276.     gxPostscriptStreamFont
  7277.     gxPostscriptDoDocumentHeader
  7278.     gxPostscriptDoDocumentSetUp
  7279.     gxPostscriptDoDocumentTrailer
  7280.     gxPostscriptDoPageSetUp
  7281.     gxPostscriptSelectPaperType
  7282.     gxPostscriptDoPageTrailer
  7283.     gxPostscriptEjectPage
  7284.     gxPostscriptProcessShape
  7285.     gxVectorPackageData
  7286.     gxVectorLoadPens
  7287.     gxVectorVectorizeShape
  7288. æFc PrintingResTypes.h
  7289. æT constant
  7290. æD
  7291. // identifiers for universal message overrides...
  7292.  
  7293. #define gxInitialize                                0
  7294. #define gxShutDown                                    1
  7295.  
  7296. #define gxJobIdle                                    2
  7297. #define gxJobStatus                                    3
  7298. #define gxPrintingEvent                                4
  7299.  
  7300. #define gxJobDefaultFormatDialog                    5
  7301. #define gxFormatDialog                                6
  7302. #define gxJobPrintDialog                            7
  7303. #define gxFilterPanelEvent                            8
  7304. #define gxHandlePanelEvent                            9
  7305. #define gxParsePageRange                            10
  7306.  
  7307. #define gxDefaultJob                                11
  7308. #define gxDefaultFormat                                12
  7309. #define gxDefaultPaperType                            13
  7310. #define gxDefaultPrinter                            14
  7311.  
  7312. #define gxCreateSpoolFile                            15
  7313. #define gxSpoolPage                                    16
  7314. #define gxSpoolData                                    17
  7315. #define gxSpoolResource                                18
  7316. #define gxCompleteSpoolFile                            19
  7317.  
  7318. #define gxCountPages                                20
  7319. #define gxDespoolPage                                21
  7320. #define gxDespoolData                                22
  7321. #define gxDespoolResource                            23
  7322. #define gxCloseSpoolFile                            24
  7323.  
  7324. #define gxStartJob                                    25
  7325. #define gxFinishJob                                    26
  7326. #define gxStartPage                                    27
  7327. #define gxFinishPage                                28
  7328. #define gxPrintPage                                    29
  7329.  
  7330. #define gxSetupImageData                            30
  7331. #define gxImageJob                                    31
  7332. #define gxImageDocument                                32
  7333. #define gxImagePage                                    33
  7334. #define gxRenderPage                                34
  7335. #define gxCreateImageFile                            35
  7336.  
  7337. #define gxOpenConnection                            36
  7338. #define gxCloseConnection                            37
  7339. #define gxStartSendPage                                38
  7340. #define gxFinishSendPage                            39
  7341.  
  7342. #define gxWriteData                                    40
  7343. #define gxBufferData                                41
  7344. #define gxDumpBuffer                                42
  7345. #define gxFreeBuffer                                43
  7346.  
  7347. #define gxCheckStatus                                44
  7348. #define gxGetDeviceStatus                            45
  7349.  
  7350. #define gxFetchTaggedData                            46
  7351.  
  7352. #define gxGetDTPMenuList                            47
  7353. #define gxDTPMenuSelect                                48
  7354. #define gxHandleAlertFilter                            49
  7355.  
  7356. #define gxJobFormatModeQuery                        50
  7357.  
  7358. #define gxWriteStatusToDTPWindow                    51
  7359. #define gxInitializeStatusAlert                        52
  7360. #define gxHandleAlertStatus                            53
  7361. #define gxHandleAlertEvent                            54
  7362.  
  7363. #define gxCleanupStartJob                            55
  7364. #define gxCleanupStartPage                            56
  7365. #define gxCleanupOpenConnection                        57
  7366. #define gxCleanupStartSendPage                        58
  7367.  
  7368. #define gxDefaultDesktopPrinter                        59
  7369. #define gxCaptureOutputDevice                        60
  7370.  
  7371. #define gxOpenConnectionRetry                        61
  7372. #define gxExamineSpoolFile                            62
  7373.  
  7374. #define gxFinishSendPlane                            63
  7375. #define gxDoesPaperFit                                64
  7376. #define gxChooserMessage                            65
  7377.  
  7378. #define gxFindPrinterProfile                        66
  7379. #define    gxFindFormatProfile                            67
  7380. #define gxSetPrinterProfile                            68
  7381. #define gxSetFormatProfile                            69
  7382.  
  7383. // identifiers for Quickdraw message overrides...
  7384.  
  7385. #define    gxPrOpenDoc                                  0
  7386. #define    gxPrCloseDoc                                  1
  7387. #define    gxPrOpenPage                                  2
  7388. #define    gxPrClosePage                                  3
  7389. #define    gxPrintDefault                                 4
  7390. #define    gxPrStlDialog                                  5
  7391. #define    gxPrJobDialog                                  6
  7392. #define    gxPrStlInit                                 7
  7393. #define    gxPrJobInit                                  8
  7394. #define    gxPrDlgMain                                  9
  7395. #define    gxPrValidate                                  10
  7396. #define    gxPrJobMerge                                  11
  7397. #define    gxPrGeneral                                  12
  7398. #define    gxConvertPrintRecordTo                         13
  7399. #define    gxConvertPrintRecordFrom                     14
  7400. #define    gxPrintRecordToJob                              15
  7401.  
  7402. // identifiers for raster imaging message overrides...
  7403.  
  7404. #define gxRasterDataIn                                0
  7405. #define gxRasterLineFeed                             1
  7406. #define gxRasterPackageBitmap                        2
  7407.  
  7408. // identifiers for PostScript imaging message overrides...
  7409.  
  7410. #define gxPostscriptQueryPrinter                    0
  7411. #define gxPostscriptInitializePrinter                1
  7412. #define gxPostscriptResetPrinter                    2
  7413. #define gxPostscriptExitServer                        3
  7414. #define gxPostscriptGetStatusText                    4
  7415. #define gxPostscriptGetPrinterText                    5
  7416. #define    gxPostscriptScanStatusText                    6
  7417. #define    gxPostscriptScanPrinterText                    7
  7418. #define    gxPostscriptGetDocumentProcSetList            8
  7419. #define gxPostscriptDownloadProcSetList                9
  7420. #define gxPostscriptGetPrinterGlyphsInformation        10
  7421. #define    gxPostscriptStreamFont                        11
  7422. #define gxPostscriptDoDocumentHeader                12
  7423. #define gxPostscriptDoDocumentSetUp                    13
  7424. #define gxPostscriptDoDocumentTrailer                14
  7425. #define gxPostscriptDoPageSetUp                        15
  7426. #define gxPostscriptSelectPaperType                    16
  7427. #define gxPostscriptDoPageTrailer                    17
  7428. #define    gxPostscriptEjectPage                        18
  7429. #define gxPostscriptProcessShape                    19
  7430.  
  7431. // identifiers for Vector imaging message overrides...
  7432.  
  7433. #define gxVectorPackageData                            0
  7434. #define gxVectorLoadPens                             1
  7435. #define gxVectorVectorizeShape                        2
  7436.  
  7437. æKY exft
  7438.     'exft'
  7439.     kExcludeFontListID
  7440. æFc PrintingResTypes.h
  7441. æT constant
  7442. æD
  7443. #define kExcludeFontListType    'exft'
  7444. #define kExcludeFontListID        (gxPrintingDriverBaseID)
  7445.  
  7446. æC
  7447.  
  7448. 'exft' resource -- exclude font list.
  7449.  
  7450. æKY prof
  7451.     'prof'
  7452.     gxColorMatchingDataID
  7453. æFc PrintingResTypes.h
  7454. æT constant
  7455. æD
  7456. #define gxColorMatchingDataType                'prof'
  7457. #define gxColorMatchingDataID                (gxPrintingDriverBaseID)
  7458.  
  7459. æC
  7460.  
  7461. Resource type for color matching.
  7462.  
  7463. æKY gxStlDialogResID
  7464.     gxJobDialogResID
  7465. æFc PrintingResTypes.h
  7466. æT constant
  7467. æD
  7468. #define    gxStlDialogResID         -8192
  7469. #define    gxJobDialogResID         -8191
  7470.  
  7471. æKY sig
  7472.     'sig '
  7473.     gxSignatureType
  7474.     gxPapertypeSignatureID
  7475. æFc PrintingResTypes.h
  7476. æT constant
  7477. æD
  7478. #define    gxSignatureType                    'sig '
  7479. #define    gxPapertypeSignatureID            0
  7480.  
  7481. æC
  7482.  
  7483. Resource type and ID for driver papertypes placed in individual files.
  7484.  
  7485. æKY drpt
  7486.     'drpt'
  7487.     gxDrvrPaperType
  7488. æFc PrintingResTypes.h
  7489. æT constant
  7490. æD
  7491. #define    gxDrvrPaperType                    'drpt'
  7492.  
  7493. æC
  7494.  
  7495. File type for driver papertypes placed in individual files.
  7496.  
  7497. æKY gestaltMessageMgrVersion
  7498. æFc Messages.h
  7499. æT constant
  7500. æD
  7501. enum {
  7502.     gestaltMessageMgrVersion = 'mess'
  7503. };
  7504.  
  7505. æC
  7506.  
  7507. Message Manager Gestalt Selector.
  7508.  
  7509. æKY GXMessageManagerErrors
  7510.     MessageManagerErrors
  7511.     messageStopLoopingErr
  7512.     cantDeleteRunningHandlerErr
  7513.     noMessageTableErr
  7514.     dupSignatureErr
  7515.     messageNotReceivedErr
  7516. æFc Messages.h
  7517. æT constant
  7518. æD
  7519. enum {
  7520.     messageStopLoopingErr        = -5775,
  7521.     cantDeleteRunningHandlerErr = -5776,
  7522.     noMessageTableErr            = -5777,
  7523.     dupSignatureErr                = -5778,
  7524.     messageNotReceivedErr        = -5799
  7525. };
  7526.  
  7527. æC
  7528.  
  7529. Message Manager Error Result Codes.
  7530.  
  7531. æKY messageClassNoOptions
  7532.     messageClassIgnoreResult
  7533. æFc Messages.h
  7534. æT constant
  7535. æD
  7536. enum {
  7537.     messageClassNoOptions         = 0x00000000,
  7538.     messageClassIgnoreResult    = 0x80000000
  7539. };
  7540.  
  7541. æC
  7542.  
  7543. Message Manager Class Options.
  7544.  
  7545. æKY topMessageHandler
  7546. æFc Messages.h
  7547. æT constant
  7548. æD
  7549. enum {
  7550.     topMessageHandler     = 0
  7551. };
  7552.  
  7553. æC
  7554.  
  7555. Indicates top handler when position is expected.
  7556.  
  7557. æKY messageManagerTrap
  7558. æFc Messages.h
  7559. æT constant
  7560. æD
  7561. #define messageManagerTrap 0xABFB
  7562.  
  7563. æC
  7564.  
  7565. The Message Manager trap.
  7566.  
  7567. æKY sendObjectMessageSelector
  7568.     sendObjectMessageToSelector
  7569.     startObjectMessageAtSelector
  7570.     sendMessageSelector
  7571.     sendMessageToSelector
  7572.     startMessageAtSelector
  7573.     forwardSelector
  7574.     forwardThisSelector
  7575. æFc Messages.h
  7576. æT constant
  7577. æD
  7578. #define sendObjectMessageSelector        0x702F
  7579. #define sendObjectMessageToSelector        0x7030
  7580. #define startObjectMessageAtSelector    0x7031
  7581. #define sendMessageSelector                0x7032
  7582. #define sendMessageToSelector            0x7033
  7583. #define startMessageAtSelector            0x7034
  7584. #define forwardSelector                    0x7035
  7585. #define forwardThisSelector                0x7036
  7586.  
  7587. æC
  7588.  
  7589. Message Manager Selectors.
  7590.  
  7591. æKY SendObjectMessageGlue
  7592. æFc Messages.h
  7593. æT macro
  7594. æD
  7595. #define SendObjectMessageGlue(table, selector) {                            \
  7596.     sendObjectMessageSelector, 0x223C, table, selector, messageManagerTrap    \
  7597. }
  7598.  
  7599. æC
  7600.  
  7601. The SendObjectMessageGlue macro assumes the message target is in register A0.
  7602.  
  7603. æKY SendMessageGlue
  7604. æFc Messages.h
  7605. æT macro
  7606. æD
  7607. #define SendMessageGlue(table, selector) {                                \
  7608.     sendMessageSelector, 0x223C, table, selector, messageManagerTrap    \
  7609. }
  7610.  
  7611. æKY ForwardMessageGlue
  7612. æFc Messages.h
  7613. æT macro
  7614. æD
  7615. #define ForwardMessageGlue(table, selector) {                        \
  7616.     forwardSelector, 0x223C, table, selector, messageManagerTrap    \
  7617. }
  7618.  
  7619. æKY ForwardThisMessageGlue
  7620. æFc Messages.h
  7621. æT macro
  7622. æD
  7623. #define ForwardThisMessageGlue { forwardThisSelector, messageManagerTrap }
  7624.  
  7625. æKY MessageClass
  7626.     PrivateMessageClassRecord
  7627. æFc Messages.h
  7628. æT structure
  7629. æD
  7630. typedef struct PrivateMessageClassRecord *MessageClass;
  7631.  
  7632. æC
  7633.  
  7634. Abstract data type for message class.
  7635.  
  7636. æKY MessageHandler
  7637.     PrivateMessageHandlerRecord
  7638. æFc Messages.h
  7639. æT structure
  7640. æD
  7641. typedef struct PrivateMessageHandlerRecord *MessageHandler;
  7642.  
  7643. æC
  7644.  
  7645. Abstract data type for message handler.
  7646.  
  7647. æKY MessageObject
  7648.     PrivateMessageObjectRecord
  7649. æFc Messages.h
  7650. æT structure
  7651. æD
  7652. typedef struct PrivateMessageObjectRecord *MessageObject;
  7653.  
  7654. æC
  7655.  
  7656. Abstract data type for message object.
  7657.  
  7658. æKY MessageOverride
  7659. æFc Messages.h
  7660. æT structure
  7661. æD
  7662. struct MessageOverride{
  7663.     short        messageID;        /* message being overridden */
  7664.     long        dispatch1;        /* first dispatch selector */
  7665.     long        dispatch2;        /* second dispatch selector */
  7666. };
  7667.  
  7668. æKY MessageOverrideTable
  7669. æFc Messages.h
  7670. æT structure
  7671. æD
  7672. struct MessageOverrideTable{
  7673.     short                    numOverrides;
  7674.     MessageOverride            overrides[1];
  7675. };
  7676.  
  7677. æC
  7678.  
  7679. Definition of an override table.
  7680.  
  7681. æKY Signature
  7682. æFc Messages.h
  7683. æT structure
  7684. æD
  7685. typedef OSType Signature;
  7686.  
  7687. æKY MessageStackMark
  7688. æFc Messages.h
  7689. æT structure
  7690. æD
  7691. typedef void* MessageStackMark[2];
  7692.  
  7693. æKY MessageHandlerSetupProc
  7694. æFc Messages.h
  7695. æT structure
  7696. æD
  7697. typedef void (*MessageHandlerSetupProc) (void *handlerData);
  7698.  
  7699. æKY MessageClassExceptionProc
  7700. æFc Messages.h
  7701. æT structure
  7702. æD
  7703. typedef OSErr (*MessageClassExceptionProc) (MessageObject, OSErr);
  7704.  
  7705. æKY MessageObjectLoopProc
  7706. æFc Messages.h
  7707. æT structure
  7708. æD
  7709. typedef OSErr (*MessageObjectLoopProc) (MessageObject, void *refCon);
  7710.  
  7711. æKY MessageHandlerLoopProc
  7712. æFc Messages.h
  7713. æT structure
  7714. æD
  7715. typedef OSErr (*MessageHandlerLoopProc) (MessageHandler, void *refCon);
  7716.  
  7717. æKY MessageGlobalsInitProc
  7718. æFc Messages.h
  7719. æT structure
  7720. æD
  7721. typedef void (*MessageGlobalsInitProc) (void *messageGlobals);
  7722.  
  7723. æKY NewMessageClass
  7724. æFc Messages.h
  7725. æT function
  7726. æD
  7727. MessageClass NewMessageClass (long numTables, long classOptions)
  7728. = {0x7000, messageManagerTrap};
  7729.  
  7730. æKY DisposeMessageClass
  7731. æFc Messages.h
  7732. æT function
  7733. æD
  7734. void DisposeMessageClass (MessageClass)
  7735. = {0x7001, messageManagerTrap};
  7736.  
  7737. æKY CloneMessageClass
  7738. æFc Messages.h
  7739. æT function
  7740. æD
  7741. MessageClass CloneMessageClass (MessageClass)
  7742. = {0x7002, messageManagerTrap};
  7743.  
  7744. æKY CountMessageClassOwners
  7745. æFc Messages.h
  7746. æT function
  7747. æD
  7748. long CountMessageClassOwners (MessageClass)
  7749. = {0x7003, messageManagerTrap};
  7750.  
  7751. æKY NewDerivedMessageClass
  7752. æFc Messages.h
  7753. æT function
  7754. æD
  7755. MessageClass NewDerivedMessageClass (MessageClass parentClass)
  7756. = {0x7004, messageManagerTrap};
  7757.  
  7758. æKY SetMessageClassDispatchProc
  7759. æFc Messages.h
  7760. æT function
  7761. æD
  7762. void *SetMessageClassDispatchProc (MessageClass, void *dispatchProc)
  7763. = {0x7005, messageManagerTrap};
  7764.  
  7765. æKY SetMessageClassHandlerSetupProc
  7766. æFc Messages.h
  7767. æT function
  7768. æD
  7769. MessageHandlerSetupProc SetMessageClassHandlerSetupProc (MessageClass, MessageHandlerSetupProc)
  7770. = {0x7006, messageManagerTrap};
  7771.  
  7772. æKY SetMessageClassHandlerReturnProc
  7773. æFc Messages.h
  7774. æT function
  7775. æD
  7776. MessageHandlerSetupProc SetMessageClassHandlerReturnProc (MessageClass, MessageHandlerSetupProc)
  7777. = {0x7007, messageManagerTrap};
  7778.  
  7779. æKY SetMessageClassExceptionProc
  7780. æFc Messages.h
  7781. æT function
  7782. æD
  7783. MessageClassExceptionProc SetMessageClassExceptionProc (MessageClass, MessageClassExceptionProc)
  7784. = {0x7008, messageManagerTrap};
  7785.  
  7786. æKY GetMessageClassRefCon
  7787. æFc Messages.h
  7788. æT function
  7789. æD
  7790. void *GetMessageClassRefCon (MessageClass)
  7791. = {0x7009, messageManagerTrap};
  7792.  
  7793. æKY SetMessageClassRefCon
  7794. æFc Messages.h
  7795. æT function
  7796. æD
  7797. void *SetMessageClassRefCon (MessageClass, void *refCon)
  7798. = {0x700A, messageManagerTrap};
  7799.  
  7800. æKY NewMessageHandler
  7801. æFc Messages.h
  7802. æT function
  7803. æD
  7804. OSErr NewMessageHandler (MessageClass,
  7805.                          long handlerPos,
  7806.                          MessageOverrideTablePtr overrideTableList[],
  7807.                          void *handlerData,
  7808.                          Signature handlerSig,
  7809.                          MessageHandler *msgHandler)
  7810. = {0x700B, messageManagerTrap};
  7811.  
  7812. æKY RemoveMessageHandler
  7813. æFc Messages.h
  7814. æT function
  7815. æD
  7816. OSErr RemoveMessageHandler (MessageClass, MessageHandler)
  7817. = {0x700C, messageManagerTrap};
  7818.  
  7819. æKY InstallMessageHandlerOverride
  7820. æFc Messages.h
  7821. æT function
  7822. æD
  7823. OSErr InstallMessageHandlerOverride (MessageClass,
  7824.                                      MessageHandler,
  7825.                                      long messageSelector,
  7826.                                      long dispatch1,
  7827.                                      long dispatch2)
  7828. = {0x700D, messageManagerTrap};
  7829.  
  7830. æKY RemoveMessageHandlerOverride
  7831. æFc Messages.h
  7832. æT function
  7833. æD
  7834. void RemoveMessageHandlerOverride (MessageClass,
  7835.                                    MessageHandler,
  7836.                                    long messageSelector)
  7837. = {0x700E, messageManagerTrap};
  7838.  
  7839. æKY GetMessageHandlerData
  7840. æFc Messages.h
  7841. æT function
  7842. æD
  7843. void *GetMessageHandlerData (MessageClass, MessageHandler)
  7844. = {0x700F, messageManagerTrap};
  7845.  
  7846. æKY SetMessageHandlerData
  7847. æFc Messages.h
  7848. æT function
  7849. æD
  7850. void *SetMessageHandlerData (MessageClass,
  7851.                              MessageHandler,
  7852.                              void *handlerData)
  7853. = {0x7010, messageManagerTrap};
  7854.  
  7855. æKY DisableMessageHandler
  7856. æFc Messages.h
  7857. æT function
  7858. æD
  7859. void DisableMessageHandler (MessageClass, MessageHandler)
  7860. = {0x7011, messageManagerTrap};
  7861.  
  7862. æKY EnableMessageHandler
  7863. æFc Messages.h
  7864. æT function
  7865. æD
  7866. void EnableMessageHandler (MessageClass, MessageHandler)
  7867. = {0x7012, messageManagerTrap};
  7868.  
  7869. æKY MessageHandlerDisabled
  7870. æFc Messages.h
  7871. æT function
  7872. æD
  7873. int MessageHandlerDisabled (MessageClass, MessageHandler)
  7874. = {0x7013, messageManagerTrap};
  7875.  
  7876. æKY CountMessageHandlers
  7877. æFc Messages.h
  7878. æT function
  7879. æD
  7880. long CountMessageHandlers (MessageClass)
  7881. = {0x7014, messageManagerTrap};
  7882.  
  7883. æKY GetMessageHandlerAt
  7884. æFc Messages.h
  7885. æT function
  7886. æD
  7887. MessageHandler GetMessageHandlerAt (MessageClass, long handlerPosition)
  7888. = {0x7015, messageManagerTrap};
  7889.  
  7890. æKY GetMessageHandlerSignature
  7891. æFc Messages.h
  7892. æT function
  7893. æD
  7894. Signature GetMessageHandlerSignature (MessageClass, MessageHandler)
  7895. = {0x7016, messageManagerTrap};
  7896.  
  7897. æKY FindMessageHandler
  7898. æFc Messages.h
  7899. æT function
  7900. æD
  7901. MessageHandler FindMessageHandler (MessageClass, Signature)
  7902. = {0x7017, messageManagerTrap};
  7903.  
  7904. æKY GetMessageHandlerPosition
  7905. æFc Messages.h
  7906. æT function
  7907. æD
  7908. long GetMessageHandlerPosition (MessageClass, MessageHandler)
  7909. = {0x7018, messageManagerTrap};
  7910.  
  7911. æKY ForEachMessageHandlerDo
  7912. æFc Messages.h
  7913. æT function
  7914. æD
  7915. OSErr ForEachMessageHandlerDo (MessageClass, MessageHandlerLoopProc, void *refCon)
  7916. = {0x7019, messageManagerTrap};
  7917.  
  7918. æKY NewMessageObject
  7919. æFc Messages.h
  7920. æT function
  7921. æD
  7922. MessageObject NewMessageObject (MessageClass)
  7923. = {0x701A, messageManagerTrap};
  7924.  
  7925. æKY DisposeMessageObject
  7926. æFc Messages.h
  7927. æT function
  7928. æD
  7929. void DisposeMessageObject (MessageObject)
  7930. = {0x701B, messageManagerTrap};
  7931.  
  7932. æKY CloneMessageObject
  7933. æFc Messages.h
  7934. æT function
  7935. æD
  7936. MessageObject CloneMessageObject (MessageObject)
  7937. = {0x701C, messageManagerTrap};
  7938.  
  7939. æKY CountMessageObjectOwners
  7940. æFc Messages.h
  7941. æT function
  7942. æD
  7943. long CountMessageObjectOwners (MessageObject)
  7944. = {0x701D, messageManagerTrap};
  7945.  
  7946. æKY GetMessageObjectRefCon
  7947. æFc Messages.h
  7948. æT function
  7949. æD
  7950. void *GetMessageObjectRefCon (MessageObject)
  7951. = {0x701E, messageManagerTrap};
  7952.  
  7953. æKY SetMessageObjectRefCon
  7954. æFc Messages.h
  7955. æT function
  7956. æD
  7957. void *SetMessageObjectRefCon (MessageObject, void *)
  7958. = {0x701F, messageManagerTrap};
  7959.  
  7960. æKY GetMessageObjectClass
  7961. æFc Messages.h
  7962. æT function
  7963. æD
  7964. MessageClass GetMessageObjectClass (MessageObject)
  7965. = {0x7020, messageManagerTrap};
  7966.  
  7967. æKY CountMessageObjects
  7968. æFc Messages.h
  7969. æT function
  7970. æD
  7971. long CountMessageObjects (MessageClass)
  7972. = {0x7021, messageManagerTrap};
  7973.  
  7974. æKY ForEachMessageObjectDo
  7975. æFc Messages.h
  7976. æT function
  7977. æD
  7978. OSErr ForEachMessageObjectDo (MessageClass, MessageObjectLoopProc, void *refCon)
  7979. = {0x7022, messageManagerTrap};
  7980.  
  7981. æKY GetMessageTarget
  7982. æFc Messages.h
  7983. æT function
  7984. æD
  7985. MessageObject GetMessageTarget (void)
  7986. = {0x7023, messageManagerTrap};
  7987.  
  7988. æKY SetMessageTarget
  7989. æFc Messages.h
  7990. æT function
  7991. æD
  7992. MessageObject SetMessageTarget (MessageObject)
  7993. = {0x7024, messageManagerTrap};
  7994.  
  7995. æKY MarkMessageStack
  7996. æFc Messages.h
  7997. æT function
  7998. æD
  7999. void MarkMessageStack (MessageStackMark)
  8000. = {0x7025, messageManagerTrap};
  8001.  
  8002. æKY UnwindMessageStack
  8003. æFc Messages.h
  8004. æT function
  8005. æD
  8006. void UnwindMessageStack (MessageStackMark)
  8007. = {0x7026, messageManagerTrap};
  8008.  
  8009. æKY GetMessageHandler
  8010. æFc Messages.h
  8011. æT function
  8012. æD
  8013. MessageHandler GetMessageHandler (void)
  8014. = {0x7027, messageManagerTrap};
  8015.  
  8016. æKY CountMessageHandlerInstances
  8017. æFc Messages.h
  8018. æT function
  8019. æD
  8020. long CountMessageHandlerInstances (void)
  8021. = {0x7028, messageManagerTrap};
  8022.  
  8023. æKY GetMessageHandlerClassContext
  8024. æFc Messages.h
  8025. æT function
  8026. æD
  8027. void *GetMessageHandlerClassContext (void)
  8028. = {0x7029, messageManagerTrap};
  8029.  
  8030. æKY SetMessageHandlerClassContext
  8031. æFc Messages.h
  8032. æT function
  8033. æD
  8034. void *SetMessageHandlerClassContext (void *)
  8035. = {0x702A, messageManagerTrap};
  8036.  
  8037. æKY GetMessageHandlerInstanceContext
  8038. æFc Messages.h
  8039. æT function
  8040. æD
  8041. void *GetMessageHandlerInstanceContext (void)
  8042. = {0x702B, messageManagerTrap};
  8043.  
  8044. æKY SetMessageHandlerInstanceContext
  8045. æFc Messages.h
  8046. æT function
  8047. æD
  8048. void *SetMessageHandlerInstanceContext (void *)
  8049. = {0x702C, messageManagerTrap};
  8050.  
  8051. æKY NewMessageGlobals
  8052. æFc Messages.h
  8053. æT function
  8054. æD
  8055. OSErr NewMessageGlobals (long messageGlobalsSize, MessageGlobalsInitProc)
  8056. = {0x702D, messageManagerTrap};
  8057.  
  8058. æKY DisposeMessageGlobals
  8059. æFc Messages.h
  8060. æT function
  8061. æD
  8062. void DisposeMessageGlobals (void)
  8063. = {0x702E, messageManagerTrap};
  8064.  
  8065. æKY SendObjectMessage
  8066. æFc Messages.h
  8067. æT function
  8068. æD
  8069. OSErr SendObjectMessage (MessageObject, long messageSelector, ...)
  8070. = {sendObjectMessageSelector, messageManagerTrap};
  8071.  
  8072. æKY SendObjectMessageTo
  8073. æFc Messages.h
  8074. æT function
  8075. æD
  8076. OSErr SendObjectMessageTo (MessageObject, long messageSelector, MessageHandler, ...)
  8077. = {sendObjectMessageToSelector, messageManagerTrap};
  8078.  
  8079. æKY StartObjectMessageAt
  8080. æFc Messages.h
  8081. æT function
  8082. æD
  8083. OSErr StartObjectMessageAt (MessageObject, long messageSelector, MessageHandler, ...)
  8084. = {startObjectMessageAtSelector, messageManagerTrap};
  8085.  
  8086. æKY SendMessage
  8087. æFc Messages.h
  8088. æT function
  8089. æD
  8090. OSErr SendMessage (long messageSelector, ...)
  8091. = {sendMessageSelector, messageManagerTrap};
  8092.  
  8093. æKY SendMessageTo
  8094. æFc Messages.h
  8095. æT function
  8096. æD
  8097. OSErr SendMessageTo (long messageSelector, MessageHandler, ...)
  8098. = {sendMessageToSelector, messageManagerTrap};
  8099.  
  8100. æKY StartMessageAt
  8101. æFc Messages.h
  8102. æT function
  8103. æD
  8104. OSErr StartMessageAt (long messageSelector, MessageHandler, ...)
  8105. = {startMessageAtSelector, messageManagerTrap};
  8106.  
  8107. æKY ForwardMessage
  8108. æFc Messages.h
  8109. æT function
  8110. æD
  8111. OSErr ForwardMessage (long messageSelector, ...)
  8112. = {forwardSelector, messageManagerTrap};
  8113.  
  8114. æKY ForwardThisMessage
  8115. æFc Messages.h
  8116. æT function
  8117. æD
  8118. OSErr ForwardThisMessage ()
  8119. = {forwardThisSelector, messageManagerTrap};
  8120.  
  8121. æKY gxGlyphcode
  8122. æFc Layout Types.h
  8123. æT structure
  8124. æD
  8125. typedef unsigned short gxGlyphcode;
  8126.  
  8127. æC
  8128.  
  8129. A single glyph in a font.
  8130.  
  8131. æKY gxByteOffset
  8132. æFc Layout Types.h
  8133. æT structure
  8134. æD
  8135. typedef long gxByteOffset;
  8136.  
  8137. æC
  8138.  
  8139. Byte offset within backing store.
  8140.  
  8141. æKY gxRunFeatureType
  8142.     gxRunFeatureSelector
  8143. æFc Layout Types.h
  8144. æT structure
  8145. æD
  8146. typedef unsigned short gxRunFeatureType;
  8147. typedef unsigned short gxRunFeatureSelector;
  8148.  
  8149. æKY gxNoTracking
  8150. æFc Layout Types.h
  8151. æT constant
  8152. æD
  8153. #define gxNoTracking gxNegativeInfinity
  8154.  
  8155. æC
  8156.  
  8157. If tracking is not desired, specify this value in the track
  8158. field in the gxRunControls record (note that a track of 0
  8159. does *not* mean to turn tracking off; rather, it means to
  8160. use normal tracking).
  8161.  
  8162. æKY gxNoStake
  8163. æFc Layout Types.h
  8164. æT constant
  8165. æD
  8166. #define gxNoStake -1
  8167.  
  8168. æC
  8169.  
  8170. The special "gxNoStake" value is returned by the
  8171. GXGetLayoutBreakOffset call to indicate the absence of a
  8172. character offset that is stable with respect to
  8173. metamorphosis and contextual kerning.
  8174.  
  8175. æKY gxBaselineTypes
  8176.     gxRomanBaseline
  8177.     gxIdeographicCenterBaseline
  8178.     gxIdeographicLowBaseline
  8179.     gxHangingBaseline
  8180.     gxMathBaseline
  8181.     gxLastBaseline
  8182.     gxNumberOfBaselineTypes
  8183.     gxNoOverrideBaseline
  8184.     gxBaselineType
  8185. æFc Layout Types.h
  8186. æT constant
  8187. æD
  8188. enum gxBaselineTypes {
  8189.     gxRomanBaseline = 0,
  8190.     gxIdeographicCenterBaseline,
  8191.     gxIdeographicLowBaseline,
  8192.     gxHangingBaseline,
  8193.     gxMathBaseline,
  8194.     gxLastBaseline = 31,
  8195.     gxNumberOfBaselineTypes = gxLastBaseline + 1,
  8196.     gxNoOverrideBaseline = 255
  8197. };
  8198. typedef unsigned long gxBaselineType;
  8199.  
  8200. æC
  8201.  
  8202. A glyph's behavior with respect to other glyphs on its line is
  8203. defined in part by its gxBaselineType. These types allow correct
  8204. alignment of the baselines of all glyphs on the line.
  8205.  
  8206. æKY gxBaselineDeltas
  8207. æFc Layout Types.h
  8208. æT structure
  8209. æD
  8210. typedef Fixed gxBaselineDeltas[gxNumberOfBaselineTypes];
  8211.  
  8212. æKY gxJustificationPriorities
  8213.     gxKashidaPriority
  8214.     gxWhiteSpacePriority
  8215.     gxInterCharPriority
  8216.     gxNullJustificationPriority
  8217.     gxNumberOfJustificationPriorities
  8218.     gxJustificationPriority
  8219. æFc Layout Types.h
  8220. æT constant
  8221. æD
  8222. enum gxJustificationPriorities {
  8223.     gxKashidaPriority                        = 0,
  8224.     gxWhiteSpacePriority                    = 1,
  8225.     gxInterCharPriority                        = 2,
  8226.     gxNullJustificationPriority                = 3,
  8227.     gxNumberOfJustificationPriorities
  8228. };
  8229.  
  8230. typedef unsigned char gxJustificationPriority;
  8231.  
  8232. æC
  8233.  
  8234. gxJustificationPriority defines the point during the
  8235. justification process at which a glyph will begin to
  8236. receive deltas before and after itself.
  8237.  
  8238. æKY gxJustificationFlags
  8239.     gxOverridePriority
  8240.     gxOverrideLimits
  8241.     gxOverrideUnlimited
  8242.     gxUnlimitedGapAbsorption
  8243.     gxJustificationPriorityMask
  8244.     gxAllJustificationFlags
  8245. typedef unsigned short gxJustificationFlagsæFc Layout Types.h
  8246. æT constant
  8247. æD
  8248. #define gxOverridePriority                    0x8000    /* use priority value from override */
  8249. #define gxOverrideLimits                    0x4000    /* use limits values from override */
  8250. #define gxOverrideUnlimited                    0x2000    /* use unlimited flag from override */
  8251. #define gxUnlimitedGapAbsorption            0x1000     /* glyph can take unlimited gap */
  8252. #define gxJustificationPriorityMask            0x000F     /* justification priority */
  8253.  
  8254. #define gxAllJustificationFlags (gxOverridePriority | gxOverrideLimits | \
  8255.     gxOverrideUnlimited | gxUnlimitedGapAbsorption | gxJustificationPriorityMask)
  8256.  
  8257. typedef unsigned short gxJustificationFlags;
  8258.  
  8259. æC
  8260.  
  8261. gxJustificationFlags are used to control which fields of a
  8262. gxWidthDeltaRecord are to be overridden and which are not if
  8263. a gxPriorityJustificationOverride or
  8264. gxGlyphJustificationOverride (qq.v.) is specified.
  8265.  
  8266. æKY gxDirectionOverrides
  8267.     gxNoDirectionOverride
  8268.     gxImposeLeftToRight
  8269.     gxImposeRightToLeft
  8270.     gxImposeArabic
  8271.     gxDirectionOverride
  8272. æFc Layout Types.h
  8273. æT constant
  8274. æD
  8275. enum gxDirectionOverrides {
  8276.     gxNoDirectionOverride    = 0,
  8277.     gxImposeLeftToRight        = 1,
  8278.     gxImposeRightToLeft        = 2,
  8279.     gxImposeArabic            = 3
  8280. };
  8281.  
  8282. typedef unsigned short gxDirectionOverride;
  8283.  
  8284. æC
  8285.  
  8286. The directional behavior of a glyph can be overridden using
  8287. a gxDirectionOverride.
  8288.  
  8289. æKY gxNoLigatureSplits
  8290.     gxNoCaretAngle
  8291.     gxImposeWidth
  8292.     gxNoCrossKerning
  8293.     gxNoOpticalAlignment
  8294.     gxForceHanging
  8295.     gxNoSpecialJustification
  8296.     gxDirectionOverrideMask
  8297.     gxAllRunControlFlags
  8298.     gxRunControlFlags
  8299. æFc Layout Types.h
  8300. æT constant
  8301. æD
  8302. #define gxNoLigatureSplits                0x80000000
  8303. #define gxNoCaretAngle                    0x40000000
  8304. #define gxImposeWidth                    0x20000000
  8305. #define gxNoCrossKerning                0x10000000
  8306. #define gxNoOpticalAlignment            0x08000000
  8307. #define gxForceHanging                    0x04000000
  8308. #define gxNoSpecialJustification        0x02000000
  8309. #define gxDirectionOverrideMask            0x00000003
  8310.  
  8311. #define gxAllRunControlFlags (gxNoLigatureSplits|gxNoCaretAngle|gxImposeWidth|gxNoCrossKerning|gxNoOpticalAlignment|gxForceHanging|gxNoSpecialJustification|gxDirectionOverrideMask)
  8312.  
  8313. typedef unsigned long gxRunControlFlags;
  8314.  
  8315. æC
  8316.  
  8317. gxRunControlFlags describe the nonparametric layout options contained in a gxStyle.
  8318.  
  8319. æKY gxHighlightTypes
  8320.     gxHighlightStraight
  8321.     gxHighlightAverageAngle
  8322.     gxHighlightType
  8323. æFc Layout Types.h
  8324. æT constant
  8325. æD
  8326. enum gxHighlightTypes {
  8327.     gxHighlightStraight            = 0,    /* straight-edged simple highlighting */
  8328.     gxHighlightAverageAngle        = 1        /* takes average of two edge angles */
  8329. };
  8330.  
  8331. typedef unsigned long gxHighlightType;
  8332.  
  8333. æC
  8334.  
  8335. gxHighlightType is used to distinguish various highlighting
  8336. methods, both in terms of character offset based vs. visual
  8337. based, and in terms of angled sides vs. non-angled sides.
  8338.  
  8339. æKY gxCaretTypes
  8340.     gxSplitCaretType
  8341.     gxLeftRightKeyboardCaret
  8342.     gxRightLeftKeyboardCaret
  8343.     gxCaretType
  8344. æFc Layout Types.h
  8345. æT constant
  8346. æD
  8347. gxCaretType is used to control whether the caret that is
  8348. returned from GXGetLayoutCaret is a split caret or a
  8349. (keyboard-syncronized) single caret.
  8350. enum gxCaretTypes {
  8351.     gxSplitCaretType            = 0,    /* returns Mac-style split caret (default) */
  8352.     gxLeftRightKeyboardCaret    = 1,    /* single caret in left-right position */
  8353.     gxRightLeftKeyboardCaret    = 2        /* single caret in right-left position */
  8354. };
  8355.  
  8356. typedef unsigned long gxCaretType;
  8357.  
  8358. æKY gxLayoutOffsetStates
  8359.     gxOffset8_8
  8360.     gxOffset8_16
  8361.     gxOffset16_8
  8362.     gxOffset16_16
  8363.     gxOffsetInvalid
  8364.     gxOffsetInsideLigature
  8365.     gxLayoutOffsetState
  8366. æFc Layout Types.h
  8367. æT constant
  8368. æD
  8369. enum gxLayoutOffsetStates {
  8370.     gxOffset8_8            = 0,
  8371.     gxOffset8_16        = 1,
  8372.     gxOffset16_8        = 2,
  8373.     gxOffset16_16        = 3,
  8374.     gxOffsetInvalid        = 4
  8375. };
  8376.  
  8377. #define gxOffsetInsideLigature 0x8000
  8378.  
  8379. typedef unsigned short gxLayoutOffsetState;
  8380.  
  8381. æC
  8382.  
  8383. gxLayoutOffsetState describes the characteristics of a given
  8384. gxByteOffset in some layout. It is returned by the
  8385. GXGetOffsetGlyphs call. Note that the gxOffsetInsideLigature
  8386. value is returned in addition to the 8/16 (or invalid) indication.
  8387.  
  8388. æKY gxNoLayoutOptions
  8389.     gxLineIsDisplayOnly
  8390.     gxAllLayoutOptionsFlags
  8391.     gxMaxRunLevel
  8392.     gxFlushLeft
  8393.     gxFlushCenter
  8394.     gxFlushRight
  8395.     gxNoJustification
  8396.     gxFullJustification
  8397.     gxLayoutOptionsFlags
  8398. æFc Layout Types.h
  8399. æT constant
  8400. æD
  8401. #define gxNoLayoutOptions 0
  8402.  
  8403. #define gxLineIsDisplayOnly 0x00000001
  8404.  
  8405. #define gxAllLayoutOptionsFlags (gxLineIsDisplayOnly)
  8406.  
  8407. #define gxMaxRunLevel        15
  8408. #define gxFlushLeft            0
  8409. #define gxFlushCenter        (fract1/2)
  8410. #define gxFlushRight        fract1
  8411.  
  8412. #define gxNoJustification    0
  8413. #define gxFullJustification    fract1
  8414.  
  8415. typedef unsigned long gxLayoutOptionsFlags;
  8416.  
  8417. æC
  8418.  
  8419. gxLayoutOptionsFlags are single-bit flags contained in a
  8420. gxLayoutOptions record. We also define here some utility
  8421. constants that are useful in setting various fields in
  8422. the gxLayoutOptions record.
  8423.  
  8424. æKY gxRunFeature
  8425. æFc Layout Types.h
  8426. æT structure
  8427. æD
  8428. struct gxRunFeature {
  8429.     gxRunFeatureType        featureType;
  8430.     gxRunFeatureSelector    featureSelector;
  8431. };
  8432.  
  8433. æC
  8434.  
  8435. A gxRunFeature describes a feature and a level for that feature.
  8436.  
  8437. æKY gxWidthDeltaRecord
  8438.     gxPriorityJustificationOverride
  8439.     gxGlyphJustificationOverride
  8440. æFc Layout Types.h
  8441. æT structure
  8442. æD
  8443. A gxWidthDeltaRecord contains all of the information needed to
  8444. describe the behavior of one class of glyphs during the
  8445. justification process.
  8446.  
  8447. struct gxWidthDeltaRecord {
  8448.     Fixed                    beforeGrowLimit;        /* ems AW can grow by at most on LT */
  8449.     Fixed                    beforeShrinkLimit;        /* ems AW can shrink by at most on LT */
  8450.     Fixed                    afterGrowLimit;            /* ems AW can grow by at most on RB */
  8451.     Fixed                    afterShrinkLimit;        /* ems AW can shrink by at most on RB */
  8452.     gxJustificationFlags    growFlags;                /* flags controlling grow case */
  8453.     gxJustificationFlags    shrinkFlags;            /* flags controlling shrink case */
  8454. };
  8455.  
  8456. A gxPriorityJustificationOverride contains an array of
  8457. WidthDeltaRecords, one for each gxJustificationPriority.
  8458.  
  8459. struct gxPriorityJustificationOverride {
  8460.     /* overrides for each of the priorities */
  8461.     struct gxWidthDeltaRecord deltas[gxNumberOfJustificationPriorities];
  8462. };
  8463.  
  8464. A gxGlyphJustificationOverride contains a gxWidthDeltaRecord
  8465. that is to be used for a specific glyph in a specific run
  8466. (this limitation is because glyphcodes vary by font).
  8467.  
  8468. struct gxGlyphJustificationOverride {
  8469.     gxGlyphcode                    glyph;
  8470.     struct gxWidthDeltaRecord    override;
  8471. };
  8472.  
  8473. æKY gxRunControls
  8474. æFc Layout Types.h
  8475. æT structure
  8476. æD
  8477. struct gxRunControls {
  8478.     gxRunControlFlags                flags;
  8479.     Fixed                            beforeWithStreamShift;
  8480.     Fixed                            afterWithStreamShift;
  8481.     Fixed                            crossStreamShift;
  8482.     Fixed                            imposedWidth;
  8483.     Fixed                            track;
  8484.     fract                            hangingInhibitFactor;
  8485.     fract                            kerningInhibitFactor;
  8486.     Fixed                            decompositionAdjustmentFactor;
  8487.     gxBaselineType                    baselineType;
  8488. };
  8489.  
  8490. æC
  8491.  
  8492. gxRunControls contains flags, shifts, imposed widths and
  8493. overrides for a run.  NOTE: a value of "gxNoTracking"
  8494. in track disables tracking.
  8495.  
  8496. æKY gxGlyphSubstitution
  8497. æFc Layout Types.h
  8498. æT structure
  8499. æD
  8500. struct gxGlyphSubstitution {
  8501.     gxGlyphcode     originalGlyph;        /* Whenever you see this glyph...    */
  8502.     gxGlyphcode     substituteGlyph;    /* ...change it to this one.        */
  8503. };
  8504.  
  8505. æC
  8506.  
  8507. A gxGlyphSubstitution describes one client-provided
  8508. substitution that occurs after all other automatic
  8509. glyph changes have happened.
  8510.  
  8511. æKY gxKerningAdjustmentFactors
  8512.     gxKerningAdjustment
  8513. æFc Layout Types.h
  8514. æT structure
  8515. æD
  8516. gxKerningAdjustmentFactors specify an adjustment to
  8517. automatic kerning. The adjustment is ax + b where x
  8518. is the automatic kerning value, a is scaleFactor, and
  8519. b is adjustmentPointSizeFactor times the run's point
  8520. size.
  8521.  
  8522. struct gxKerningAdjustmentFactors {
  8523.     fract     scaleFactor;
  8524.     Fixed     adjustmentPointSizeFactor;
  8525. };
  8526.  
  8527. A gxKerningAdjustment identifies with- and cross-stream
  8528. kerning adjustments for specific glyph pairs.
  8529.  
  8530. struct gxKerningAdjustment {
  8531.     gxGlyphcode                            firstGlyph;
  8532.     gxGlyphcode                            secondGlyph;
  8533.     struct gxKerningAdjustmentFactors    withStreamFactors;
  8534.     struct gxKerningAdjustmentFactors    crossStreamFactors;
  8535. };
  8536.  
  8537. æKY gxResetCrossStreamFactor
  8538. æFc Layout Types.h
  8539. æT constant
  8540. æD
  8541. #define gxResetCrossStreamFactor gxNegativeInfinity
  8542.  
  8543. æC
  8544.  
  8545. A value of gxResetCrossStreamFactor in crossStreamFactors.adjustmentPointSizeFactor
  8546. will reset the cross-stream kerning to the baseline.
  8547.  
  8548. æKY gxLayoutHitInfo
  8549. æFc Layout Types.h
  8550. æT structure
  8551. æD
  8552. struct gxLayoutHitInfo {
  8553.     Fixed                    firstPartialDist;
  8554.     Fixed                    lastPartialDist;
  8555.     gxByteOffset             hitSideOffset;
  8556.     gxByteOffset             nonHitSideOffset;
  8557.     boolean                    leadingEdge;
  8558.     boolean                    inLoose;
  8559. };
  8560.  
  8561. æC
  8562.  
  8563. gxLayoutHitInfo contains the output from the GXHitTestLayout call.
  8564.  
  8565. æKY gxLineBaselineRecord
  8566. æFc Layout Types.h
  8567. æT structure
  8568. æD
  8569. struct gxLineBaselineRecord {
  8570.     gxBaselineDeltas    deltas;
  8571. };
  8572.  
  8573. æC
  8574.  
  8575. A gxLineBaselineRecord contains the deltas from 0 to all the
  8576. different baselines for the layout. It can be filled via a call
  8577. to GetBaselineDeltas (q.v.).
  8578.  
  8579. æKY gxLayoutOptions
  8580. æFc Layout Types.h
  8581. æT structure
  8582. æD
  8583. struct gxLayoutOptions {
  8584.     Fixed                            width;
  8585.     fract                            flush;
  8586.     fract                            just;
  8587.     gxLayoutOptionsFlags            flags;
  8588.     struct gxLineBaselineRecord        *baselineRec;
  8589. };
  8590.  
  8591. æC
  8592.  
  8593. The gxLayoutOptions type contains information about the layout
  8594. characteristics of the whole line.
  8595.  
  8596. æKY GXNewLayout
  8597. æFc Layout Routines.h
  8598. æT function
  8599. æD
  8600. gxShape GXNewLayout(long textRunCount, const short textRunLengths[], const void *text[],
  8601.     long styleRunCount, const short styleRunLengths[], const gxStyle styles[], long levelRunCount,
  8602.     const short levelRunLengths[], const short levels[], const gxLayoutOptions *layoutOptions,
  8603.     const gxPoint *position)
  8604.     GXInlineCode(0x0, gxNeedClient|gxNeedHeap|gxNeedStack);
  8605.  
  8606. æKY GXGetLayout
  8607. æFc Layout Routines.h
  8608. æT function
  8609. æD
  8610. long GXGetLayout(gxShape layout, void *text, long *styleRunCount, short styleRunLengths[],
  8611.     gxStyle styles[], long *levelRunCount, short levelRunLengths[], short levels[],
  8612.     gxLayoutOptions *layoutOptions, gxPoint *position) 
  8613.     GXInlineCode(0x1, gxNeedClient|gxNeedHeap|gxNeedStack);
  8614.  
  8615. æKY GXSetLayout
  8616. æFc Layout Routines.h
  8617. æT function
  8618. æD
  8619. void GXSetLayout(gxShape layout, long textRunCount, const short textRunLengths[],
  8620.                  const void *text[], long styleRunCount, const short styleRunLengths[],
  8621.                  const gxStyle styles[], long levelRunCount, const short levelRunLengths[],
  8622.                  const short levels[], const gxLayoutOptions *layoutOptions, const gxPoint *position)
  8623.     GXInlineCode(0x2, gxNeedClient|gxNeedHeap|gxNeedStack);
  8624.  
  8625. æKY GXDrawLayout
  8626. æFc Layout Routines.h
  8627. æT function
  8628. æD
  8629. void GXDrawLayout(long textRunCount, const short textRunLengths[], const void *text[],
  8630.                   long styleRunCount, const short styleRunLengths[], const gxStyle styles[],
  8631.                   long levelRunCount, const short levelRunLengths[], const short levels[],
  8632.                   const gxLayoutOptions *layoutOptions, const gxPoint *position)
  8633.     GXInlineCode(0x3, gxNeedClient|gxNeedHeap|gxNeedStack);
  8634.  
  8635. æKY GXSetLayoutParts
  8636. æFc Layout Routines.h
  8637. æT function
  8638. æD
  8639. void GXSetLayoutParts(gxShape layout, gxByteOffset oldStartOffset, gxByteOffset oldEndOffset,
  8640.                       long newTextRunCount, const short newTextRunLengths[], const void *newText[],
  8641.                       long newStyleRunCount, const short newStyleRunLengths[], const gxStyle newStyles[],
  8642.                       long newLevelRunCount, const short newLevelRunLengths[], const short newLevels[])
  8643.     GXInlineCode(0x4, gxNeedClient|gxNeedHeap|gxNeedStack);
  8644.  
  8645. æKY GXSetLayoutShapeParts
  8646. æFc Layout Routines.h
  8647. æT function
  8648. æD
  8649. void GXSetLayoutShapeParts(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, gxShape insert)
  8650.     GXInlineCode(0x5, gxNeedClient|gxNeedHeap|gxNeedStack);
  8651.  
  8652. æKY GXGetLayoutParts
  8653. æFc Layout Routines.h
  8654. æT function
  8655. æD
  8656. long GXGetLayoutParts(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, void *text,
  8657.                       long *styleRunCount, short styleRunLengths[], gxStyle styles[],
  8658.                       long *levelRunCount, short levelRunLengths[], short levels[])
  8659.     GXInlineCode(0x6, gxNeedClient|gxNeedHeap|gxNeedStack);
  8660.  
  8661. æKY GXGetLayoutShapeParts
  8662. æFc Layout Routines.h
  8663. æT function
  8664. æD
  8665. gxShape GXGetLayoutShapeParts(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset, gxShape dest)
  8666.     GXInlineCode(0x7, gxNeedClient|gxNeedHeap|gxNeedStack);
  8667.  
  8668. æKY GXGetLayoutGlyphs
  8669. æFc Layout Routines.h
  8670. æT function
  8671. æD
  8672. long GXGetLayoutGlyphs(gxShape layout, gxGlyphcode *glyphs, gxPoint positions[], long advance[],
  8673.                        gxPoint tangents[], long *runCount, short styleRuns[], gxStyle glyphStyles[])
  8674.     GXInlineCode(0x8, gxNeedClient|gxNeedHeap|gxNeedStack);
  8675.  
  8676. æKY GXHitTestLayout
  8677. æFc Layout Routines.h
  8678. æT function
  8679. æD
  8680. gxByteOffset GXHitTestLayout(gxShape layout, const gxPoint *hitDown, gxHighlightType highlightType,
  8681.                              gxLayoutHitInfo *hitInfo, gxShape hitTrackingArea)
  8682.     GXInlineCode(0x9, gxNeedClient|gxNeedHeap|gxNeedStack);
  8683.  
  8684. æKY GXGetLayoutHighlight
  8685. æFc Layout Routines.h
  8686. æT function
  8687. æD
  8688. gxShape GXGetLayoutHighlight(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset,
  8689.                              gxHighlightType highlightType, gxShape highlight)
  8690.     GXInlineCode(0xa, gxNeedClient|gxNeedHeap|gxNeedStack);
  8691.  
  8692. æKY GXGetLayoutVisualHighlight
  8693. æFc Layout Routines.h
  8694. æT function
  8695. æD
  8696. gxShape GXGetLayoutVisualHighlight(gxShape layout, gxByteOffset startOffset, long startLeadingEdge,
  8697.                                    gxByteOffset endOffset, long endLeadingEdge,
  8698.                                    gxHighlightType highlightType, gxShape highlight)
  8699.     GXInlineCode(0xb, gxNeedClient|gxNeedHeap|gxNeedStack);
  8700.  
  8701. æKY GXGetLayoutCaret
  8702. æFc Layout Routines.h
  8703. æT function
  8704. æD
  8705. gxShape GXGetLayoutCaret(gxShape layout, gxByteOffset offset, gxHighlightType highlightType,
  8706.                          gxCaretType caretType, gxShape caret)
  8707.     GXInlineCode(0xc, gxNeedClient|gxNeedHeap|gxNeedStack);
  8708.  
  8709. æKY GXGetLayoutBreakOffset
  8710. æFc Layout Routines.h
  8711. æT function
  8712. æD
  8713. gxByteOffset GXGetLayoutBreakOffset(gxShape layout, gxByteOffset startOffset, Fixed lineWidth,
  8714.                                     long hyphenationCount, const gxByteOffset hyphenationPoints[],
  8715.                                     boolean *startIsStaked, gxByteOffset *priorStake,
  8716.                                     gxByteOffset *nextStake)
  8717.     GXInlineCode(0xd, gxNeedClient|gxNeedHeap|gxNeedStack);
  8718.  
  8719. æKY GXGetLayoutRangeWidth
  8720. æFc Layout Routines.h
  8721. æT function
  8722. æD
  8723. Fixed GXGetLayoutRangeWidth(gxShape layout, gxByteOffset startOffset,
  8724.                             gxByteOffset endOffset, gxShape supplementaryText)
  8725.     GXInlineCode(0xe, gxNeedClient|gxNeedHeap|gxNeedStack);
  8726.  
  8727. æKY GXNewLayoutFromRange
  8728. æFc Layout Routines.h
  8729. æT function
  8730. æD
  8731. gxShape GXNewLayoutFromRange(gxShape layout, gxByteOffset startOffset, gxByteOffset endOffset,
  8732.                              const gxLayoutOptions *layoutOptions, gxShape supplementaryText)
  8733.     GXInlineCode(0xf, gxNeedClient|gxNeedHeap|gxNeedStack);
  8734.  
  8735. æKY GXGetCaretAngleArea
  8736. æFc Layout Routines.h
  8737. æT function
  8738. æD
  8739. gxShape GXGetCaretAngleArea(gxShape layout, const gxPoint *hitPoint, gxHighlightType highlightType,
  8740.                             gxShape caretArea, short *returnedRise, short *returnedRun)
  8741.     GXInlineCode(0x10, gxNeedClient|gxNeedHeap|gxNeedStack);
  8742.  
  8743. æKY GXGetStyleBaselineDeltas
  8744. æFc Layout Routines.h
  8745. æT function
  8746. æD
  8747. void GXGetStyleBaselineDeltas(gxStyle baseStyle, gxBaselineType baseType,
  8748.                               gxBaselineDeltas returnedDeltas)
  8749.     GXInlineCode(0x11, gxNeedClient|gxNeedHeap|gxNeedStack);
  8750.  
  8751. æKY GXGetRightVisualOffset
  8752. æFc Layout Routines.h
  8753. æT function
  8754. æD
  8755. gxByteOffset GXGetRightVisualOffset(gxShape layout, gxByteOffset currentOffset)
  8756.     GXInlineCode(0x12, gxNeedClient|gxNeedHeap|gxNeedStack);
  8757.  
  8758. æKY GXGetLeftVisualOffset
  8759. æFc Layout Routines.h
  8760. æT function
  8761. æD
  8762. gxByteOffset GXGetLeftVisualOffset(gxShape layout, gxByteOffset currentOffset)
  8763.     GXInlineCode(0x13, gxNeedClient|gxNeedHeap|gxNeedStack);
  8764.  
  8765. æKY GXGetCompoundCharacterLimits
  8766. æFc Layout Routines.h
  8767. æT function
  8768. æD
  8769. void GXGetCompoundCharacterLimits(gxShape layout, gxByteOffset trial, gxByteOffset *minOffset,
  8770.                                   gxByteOffset *maxOffset, boolean *onBoundary)
  8771.     GXInlineCode(0x14, gxNeedClient|gxNeedHeap|gxNeedStack);
  8772.  
  8773. æKY GXGetOffsetGlyphs
  8774. æFc Layout Routines.h
  8775. æT function
  8776. æD
  8777. void GXGetOffsetGlyphs(gxShape layout, gxByteOffset trial, long leadingEdge,
  8778.                        gxLayoutOffsetState *offsetState, unsigned short *firstGlyph,
  8779.                        unsigned short *secondGlyph)
  8780.     GXInlineCode(0x15, gxNeedClient|gxNeedHeap|gxNeedStack);
  8781.  
  8782. æKY GXGetGlyphOffset
  8783. æFc Layout Routines.h
  8784. æT function
  8785. æD
  8786. void GXGetGlyphOffset(gxShape layout, long trial, long onLeftTop, gxByteOffset *offset,
  8787.                       boolean *leadingEdge, boolean *wasRealCharacter)
  8788.     GXInlineCode(0x16, gxNeedClient|gxNeedHeap|gxNeedStack);
  8789.  
  8790. æKY GXGetLayoutSpan
  8791. æFc Layout Routines.h
  8792. æT function
  8793. æD
  8794. void GXGetLayoutSpan(gxShape layout, Fixed *lineAscent, Fixed *lineDescent)
  8795.     GXInlineCode(0x17, gxNeedClient|gxNeedHeap|gxNeedStack);
  8796.  
  8797. æKY GXSetLayoutSpan
  8798. æFc Layout Routines.h
  8799. æT function
  8800. æD
  8801. void GXSetLayoutSpan(gxShape layout, Fixed lineAscent, Fixed lineDescent)
  8802.     GXInlineCode(0x18, gxNeedClient|gxNeedHeap|gxNeedStack);
  8803.  
  8804. æKY GXSetStyleRunControls
  8805. æFc Layout Routines.h
  8806. æT function
  8807. æD
  8808. void GXSetStyleRunControls(gxStyle target, const gxRunControls *runControls)
  8809.     GXInlineCode(0x19, gxNeedClient|gxNeedHeap|gxNeedStack);
  8810.  
  8811. æKY GXSetStyleRunPriorityJustOverride
  8812. æFc Layout Routines.h
  8813. æT function
  8814. æD
  8815. void GXSetStyleRunPriorityJustOverride(gxStyle target,
  8816.                                        const gxPriorityJustificationOverride *priorityJustificationOverride)
  8817.     GXInlineCode(0x1a, gxNeedClient|gxNeedHeap|gxNeedStack);
  8818.  
  8819. æKY GXSetStyleRunGlyphJustOverrides
  8820. æFc Layout Routines.h
  8821. æT function
  8822. æD
  8823. void GXSetStyleRunGlyphJustOverrides(gxStyle target, long count,
  8824.                                      const gxGlyphJustificationOverride glyphJustificationOverrides[])
  8825.     GXInlineCode(0x1b, gxNeedClient|gxNeedHeap|gxNeedStack);
  8826.  
  8827. æKY GXSetStyleRunGlyphSubstitutions
  8828. æFc Layout Routines.h
  8829. æT function
  8830. æD
  8831. void GXSetStyleRunGlyphSubstitutions(gxStyle target, long count,
  8832.                                      const gxGlyphSubstitution glyphSubstitutions[])
  8833.     GXInlineCode(0x1c, gxNeedClient|gxNeedHeap|gxNeedStack);
  8834.  
  8835. æKY GXSetStyleRunFeatures
  8836. æFc Layout Routines.h
  8837. æT function
  8838. æD
  8839. void GXSetStyleRunFeatures(gxStyle target, long count, const gxRunFeature runFeatures[])
  8840.     GXInlineCode(0x1d, gxNeedClient|gxNeedHeap|gxNeedStack);
  8841.  
  8842. æKY GXSetStyleRunKerningAdjustments
  8843. æFc Layout Routines.h
  8844. æT function
  8845. æD
  8846. void GXSetStyleRunKerningAdjustments(gxStyle target, long count,
  8847.                                      const gxKerningAdjustment kerningAdjustments[])
  8848.     GXInlineCode(0x1e, gxNeedClient|gxNeedHeap|gxNeedStack);
  8849.  
  8850. æKY GXSetShapeRunControls
  8851. æFc Layout Routines.h
  8852. æT function
  8853. æD
  8854. void GXSetShapeRunControls(gxShape target, const gxRunControls *runControls)
  8855.     GXInlineCode(0x1f, gxNeedClient|gxNeedHeap|gxNeedStack);
  8856.  
  8857. æKY GXSetShapeRunPriorityJustOverride
  8858. æFc Layout Routines.h
  8859. æT function
  8860. æD
  8861. void GXSetShapeRunPriorityJustOverride(gxShape target,
  8862.                                        const gxPriorityJustificationOverride *priorityJustificationOverride)
  8863.     GXInlineCode(0x20, gxNeedClient|gxNeedHeap|gxNeedStack);
  8864.  
  8865. æKY GXSetShapeRunGlyphJustOverrides
  8866. æFc Layout Routines.h
  8867. æT function
  8868. æD
  8869. void GXSetShapeRunGlyphJustOverrides(gxShape target, long count,
  8870.                                      const gxGlyphJustificationOverride glyphJustificationOverrides[])
  8871.     GXInlineCode(0x21, gxNeedClient|gxNeedHeap|gxNeedStack);
  8872.  
  8873. æKY GXSetShapeRunGlyphSubstitutions
  8874. æFc Layout Routines.h
  8875. æT function
  8876. æD
  8877. void GXSetShapeRunGlyphSubstitutions(gxShape target, long count,
  8878.                                      const gxGlyphSubstitution glyphSubstitutions[])
  8879.     GXInlineCode(0x22, gxNeedClient|gxNeedHeap|gxNeedStack);
  8880.  
  8881. æKY GXSetShapeRunFeatures
  8882. æFc Layout Routines.h
  8883. æT function
  8884. æD
  8885. void GXSetShapeRunFeatures(gxShape target, long count, const gxRunFeature runFeatures[])
  8886.     GXInlineCode(0x23, gxNeedClient|gxNeedHeap|gxNeedStack);
  8887.  
  8888. æKY GXSetShapeRunKerningAdjustments
  8889. æFc Layout Routines.h
  8890. æT function
  8891. æD
  8892. void GXSetShapeRunKerningAdjustments(gxShape target, long count,
  8893.                                      const gxKerningAdjustment kerningAdjustments[])
  8894.     GXInlineCode(0x24, gxNeedClient|gxNeedHeap|gxNeedStack);
  8895.  
  8896. æKY GXGetStyleRunControls
  8897. æFc Layout Routines.h
  8898. æT function
  8899. æD
  8900. long GXGetStyleRunControls(gxStyle source, gxRunControls *runControls)
  8901.     GXInlineCode(0x25, gxNeedClient|gxNeedHeap|gxNeedStack);
  8902.  
  8903. æKY GXGetStyleRunPriorityJustOverride
  8904. æFc Layout Routines.h
  8905. æT function
  8906. æD
  8907. long GXGetStyleRunPriorityJustOverride(gxStyle source,
  8908.                                        gxPriorityJustificationOverride *priorityJustificationOverride)
  8909.     GXInlineCode(0x26, gxNeedClient|gxNeedHeap|gxNeedStack);
  8910.  
  8911. æKY GXGetStyleRunGlyphJustOverrides
  8912. æFc Layout Routines.h
  8913. æT function
  8914. æD
  8915. long GXGetStyleRunGlyphJustOverrides(gxStyle source,
  8916.                                      gxGlyphJustificationOverride glyphJustificationOverrides[])
  8917.     GXInlineCode(0x27, gxNeedClient|gxNeedHeap|gxNeedStack);
  8918.  
  8919. æKY GXGetStyleRunGlyphSubstitutions
  8920. æFc Layout Routines.h
  8921. æT function
  8922. æD
  8923. long GXGetStyleRunGlyphSubstitutions(gxStyle source, gxGlyphSubstitution glyphSubstitutions[])
  8924.     GXInlineCode(0x28, gxNeedClient|gxNeedHeap|gxNeedStack);
  8925.  
  8926. æKY GXGetStyleRunFeatures
  8927. æFc Layout Routines.h
  8928. æT function
  8929. æD
  8930. long GXGetStyleRunFeatures(gxStyle source, gxRunFeature runFeatures[])
  8931.     GXInlineCode(0x29, gxNeedClient|gxNeedHeap|gxNeedStack);
  8932.  
  8933. æKY GXGetStyleRunKerningAdjustments
  8934. æFc Layout Routines.h
  8935. æT function
  8936. æD
  8937. long GXGetStyleRunKerningAdjustments(gxStyle source, gxKerningAdjustment kerningAdjustments[])
  8938.     GXInlineCode(0x2a, gxNeedClient|gxNeedHeap|gxNeedStack);
  8939.  
  8940. æKY GXGetShapeRunControls
  8941. æFc Layout Routines.h
  8942. æT function
  8943. æD
  8944. long GXGetShapeRunControls(gxShape source, gxRunControls *runControls)
  8945.     GXInlineCode(0x2b, gxNeedClient|gxNeedHeap|gxNeedStack);
  8946.  
  8947. æKY GXGetShapeRunPriorityJustOverride
  8948. æFc Layout Routines.h
  8949. æT function
  8950. æD
  8951. long GXGetShapeRunPriorityJustOverride(gxShape source,
  8952.                                        gxPriorityJustificationOverride *priorityJustificationOverride)
  8953.     GXInlineCode(0x2c, gxNeedClient|gxNeedHeap|gxNeedStack);
  8954.  
  8955. æKY GXGetShapeRunGlyphJustOverrides
  8956. æFc Layout Routines.h
  8957. æT function
  8958. æD
  8959. long GXGetShapeRunGlyphJustOverrides(gxShape source,
  8960.                                      gxGlyphJustificationOverride glyphJustificationOverrides[])
  8961.     GXInlineCode(0x2d, gxNeedClient|gxNeedHeap|gxNeedStack);
  8962.  
  8963. æKY GXGetShapeRunGlyphSubstitutions
  8964. æFc Layout Routines.h
  8965. æT function
  8966. æD
  8967. long GXGetShapeRunGlyphSubstitutions(gxShape source, gxGlyphSubstitution glyphSubstitutions[])
  8968.     GXInlineCode(0x2e, gxNeedClient|gxNeedHeap|gxNeedStack);
  8969.  
  8970. æKY GXGetShapeRunFeatures
  8971. æFc Layout Routines.h
  8972. æT function
  8973. æD
  8974. long GXGetShapeRunFeatures(gxShape source, gxRunFeature runFeatures[])
  8975.     GXInlineCode(0x2f, gxNeedClient|gxNeedHeap|gxNeedStack);
  8976.  
  8977. æKY GXGetShapeRunKerningAdjustments
  8978. æFc Layout Routines.h
  8979. æT function
  8980. æD
  8981. long GXGetShapeRunKerningAdjustments(gxShape source, gxKerningAdjustment kerningAdjustments[])
  8982.     GXInlineCode(0x30, gxNeedClient|gxNeedHeap|gxNeedStack);
  8983.  
  8984. æKY PreferredGXTypographicsFlags
  8985.     GXTypographicsFlags
  8986.     allTypographicFeaturesType
  8987.     allTypeFeaturesOnSelector
  8988.     allTypeFeaturesOffSelector
  8989.     ligaturesType 
  8990.     requiredLigaturesOnSelector
  8991.     requiredLigaturesOffSelector
  8992.     commonLigaturesOnSelector
  8993.     commonLigaturesOffSelector
  8994.     rareLigaturesOnSelector
  8995.     rareLigaturesOffSelector
  8996.     logosOnSelector
  8997.     logosOffSelector
  8998.     rebusPicturesOnSelector
  8999.     rebusPicturesOffSelector
  9000.     diphthongLigaturesOnSelector
  9001.     diphthongLigaturesOffSelector
  9002.     cursiveConnectionType
  9003.     unconnectedSelector
  9004.     partiallyConnectedSelector
  9005.     cursiveSelector
  9006.     letterCaseType
  9007.     upperAndLowerCaseSelector
  9008.     allCapsSelector    
  9009.     allLowerCaseSelector
  9010.     smallCapsSelector
  9011.     initialCapsSelector
  9012.     initialCapsAndSmallCapsSelector
  9013.     verticalSubstitutionType
  9014.     substituteVerticalFormsOnSelector
  9015.     substituteVerticalFormsOffSelector
  9016.     linguisticRearrangementType
  9017.     linguisticRearrangementOnSelector
  9018.     linguisticRearrangementOffSelector
  9019.     numberSpacingType
  9020.     monospacedNumbersSelector
  9021.     proportionalNumbersSelector
  9022.     appleReserved1Type
  9023.     smartSwashType
  9024.     wordInitialSwashesOnSelector
  9025.     wordInitialSwashesOffSelector
  9026.     wordFinalSwashesOnSelector
  9027.     wordFinalSwashesOffSelector
  9028.     lineInitialSwashesOnSelector
  9029.     lineInitialSwashesOffSelector
  9030.     lineFinalSwashesOnSelector
  9031.     lineFinalSwashesOffSelector
  9032.     nonFinalSwashesOnSelector
  9033.     nonFinalSwashesOffSelector
  9034.     diacriticsType
  9035.     showDiacriticsSelector
  9036.     hideDiacriticsSelector
  9037.     decomposeDiacriticsSelector
  9038.     verticalPositionType
  9039.     normalPositionSelector
  9040.     superiorsSelector
  9041.     inferiorsSelector
  9042.     ordinalsSelector
  9043.     fractionsType
  9044.     noFractionsSelector
  9045.     verticalFractionsSelector
  9046.     diagonalFractionsSelector
  9047.     appleReserved2Type
  9048.     overlappingCharactersType
  9049.     preventOverlapOnSelector
  9050.     preventOverlapOffSelector
  9051.     typographicExtrasType
  9052.     hyphensToEmDashOnSelector
  9053.     hyphensToEmDashOffSelector
  9054.     hyphenToEnDashOnSelector
  9055.     hyphenToEnDashOffSelector
  9056.     unslashedZeroOnSelector    
  9057.     unslashedZeroOffSelector
  9058.     formInterrobangOnSelector
  9059.     formInterrobangOffSelector
  9060.     smartQuotesOnSelector
  9061.     smartQuotesOffSelector
  9062.     mathematicalExtrasType
  9063.     hyphenToMinusOnSelector
  9064.     hyphenToMinusOffSelector
  9065.     asteriskToMultiplyOnSelector
  9066.     asteriskToMultiplyOffSelector
  9067.     slashToDivideOnSelector
  9068.     slashToDivideOffSelector
  9069.     inequalityLigaturesOnSelector
  9070.     inequalityLigaturesOffSelector
  9071.     exponentsOnSelector
  9072.     exponentsOffSelector
  9073.     ornamentSetsType
  9074.     noOrnamentsSelector
  9075.     dingbatsSelector
  9076.     piCharactersSelector
  9077.     fleuronsSelector
  9078.     decorativeBordersSelector
  9079.     internationalSymbolsSelector
  9080.     mathSymbolsSelector
  9081.     characterAlternativesType
  9082.     noAlternatesSelector
  9083.     designComplexityType
  9084.     designLevel1Selector
  9085.     designLevel2Selector
  9086.     designLevel3Selector
  9087.     designLevel4Selector
  9088.     designLevel5Selector
  9089.     styleOptionsType
  9090.     noStyleOptionsSelector
  9091.     displayTextSelector
  9092.     engravedTextSelector
  9093.     illuminatedCapsSelector
  9094.     titlingCapsSelector
  9095.     tallCapsSelector
  9096.     characterShapeType
  9097.     traditionalCharactersSelector
  9098.     simplifiedCharactersSelector
  9099.     numberCaseType
  9100.     lowerCaseNumbersSelector
  9101.     upperCaseNumbersSelector
  9102.     lastFeatureType
  9103. æFc Layout Feature Constants.h
  9104. æT constant
  9105. æD
  9106. These values can be used to set gxRunFeature values. Note that unless the
  9107. feature is defaulted differently in different fonts, the zero value for the
  9108. selectors represents the default value.
  9109.  
  9110. enum {
  9111.         allTypographicFeaturesType                    = 0,
  9112.         allTypeFeaturesOnSelector                    = 0,
  9113.         allTypeFeaturesOffSelector                    = 1,
  9114.  
  9115. ligaturesType = 1,
  9116.  
  9117.         requiredLigaturesOnSelector                    = 0,
  9118.         requiredLigaturesOffSelector                = 1,
  9119.         commonLigaturesOnSelector                    = 2,
  9120.         commonLigaturesOffSelector                    = 3,
  9121.         rareLigaturesOnSelector                        = 4,
  9122.         rareLigaturesOffSelector                    = 5,
  9123.         logosOnSelector                                = 6,
  9124.         logosOffSelector                            = 7,
  9125.         rebusPicturesOnSelector                        = 8,
  9126.         rebusPicturesOffSelector                    = 9,
  9127.         diphthongLigaturesOnSelector                = 10,
  9128.         diphthongLigaturesOffSelector                = 11,
  9129.  
  9130. cursiveConnectionType = 2,
  9131.  
  9132.         unconnectedSelector                            = 0,
  9133.         partiallyConnectedSelector                    = 1,
  9134.         cursiveSelector                                = 2,
  9135.  
  9136. letterCaseType = 3,
  9137.  
  9138.         upperAndLowerCaseSelector                    = 0,
  9139.         allCapsSelector                                = 1,
  9140.         allLowerCaseSelector                        = 2,
  9141.         smallCapsSelector                            = 3,
  9142.         initialCapsSelector                            = 4,
  9143.         initialCapsAndSmallCapsSelector                = 5,
  9144.  
  9145. verticalSubstitutionType = 4,
  9146.  
  9147.         substituteVerticalFormsOnSelector            = 0,
  9148.         substituteVerticalFormsOffSelector            = 1,
  9149.  
  9150. linguisticRearrangementType = 5,
  9151.  
  9152.         linguisticRearrangementOnSelector            = 0,
  9153.         linguisticRearrangementOffSelector            = 1,
  9154.  
  9155. numberSpacingType = 6,
  9156.  
  9157.         monospacedNumbersSelector                    = 0,
  9158.         proportionalNumbersSelector                    = 1,
  9159.  
  9160. appleReserved1Type = 7,
  9161.  
  9162. smartSwashType = 8,
  9163.  
  9164.         wordInitialSwashesOnSelector                = 0,
  9165.         wordInitialSwashesOffSelector                = 1,
  9166.         wordFinalSwashesOnSelector                    = 2,
  9167.         wordFinalSwashesOffSelector                    = 3,
  9168.         lineInitialSwashesOnSelector                = 4,
  9169.         lineInitialSwashesOffSelector                = 5,
  9170.         lineFinalSwashesOnSelector                    = 6,
  9171.         lineFinalSwashesOffSelector                    = 7,
  9172.         nonFinalSwashesOnSelector                    = 8,
  9173.         nonFinalSwashesOffSelector                    = 9,
  9174.  
  9175. diacriticsType = 9,
  9176.  
  9177.         showDiacriticsSelector                        = 0,
  9178.         hideDiacriticsSelector                        = 1,
  9179.         decomposeDiacriticsSelector                    = 2,
  9180.  
  9181. verticalPositionType = 10,
  9182.  
  9183.         normalPositionSelector                        = 0,
  9184.         superiorsSelector                            = 1,
  9185.         inferiorsSelector                            = 2,
  9186.         ordinalsSelector                            = 3,
  9187.  
  9188. fractionsType = 11,
  9189.  
  9190.         noFractionsSelector                            = 0,
  9191.         verticalFractionsSelector                    = 1,
  9192.         diagonalFractionsSelector                    = 2,
  9193.  
  9194. appleReserved2Type = 12,
  9195.  
  9196. overlappingCharactersType = 13,
  9197.  
  9198.         preventOverlapOnSelector                    = 0,
  9199.         preventOverlapOffSelector                    = 1,
  9200.  
  9201. typographicExtrasType = 14,
  9202.  
  9203.         hyphensToEmDashOnSelector                    = 0,
  9204.         hyphensToEmDashOffSelector                    = 1,
  9205.         hyphenToEnDashOnSelector                    = 2,
  9206.         hyphenToEnDashOffSelector                    = 3,
  9207.         unslashedZeroOnSelector                        = 4,
  9208.         unslashedZeroOffSelector                    = 5,
  9209.         formInterrobangOnSelector                    = 6,
  9210.         formInterrobangOffSelector                    = 7,
  9211.         smartQuotesOnSelector                        = 8,
  9212.         smartQuotesOffSelector                        = 9,
  9213.  
  9214. mathematicalExtrasType = 15,
  9215.  
  9216.         hyphenToMinusOnSelector                        = 0,
  9217.         hyphenToMinusOffSelector                    = 1,
  9218.         asteriskToMultiplyOnSelector                = 2,
  9219.         asteriskToMultiplyOffSelector                = 3,
  9220.         slashToDivideOnSelector                        = 4,
  9221.         slashToDivideOffSelector                    = 5,
  9222.         inequalityLigaturesOnSelector                = 6,
  9223.         inequalityLigaturesOffSelector                = 7,
  9224.         exponentsOnSelector                            = 8,
  9225.         exponentsOffSelector                        = 9,
  9226.  
  9227. ornamentSetsType = 16,
  9228.  
  9229.         noOrnamentsSelector                            = 0,
  9230.         dingbatsSelector                            = 1,
  9231.         piCharactersSelector                        = 2,
  9232.         fleuronsSelector                            = 3,
  9233.         decorativeBordersSelector                    = 4,
  9234.         internationalSymbolsSelector                = 5,
  9235.         mathSymbolsSelector                            = 6,
  9236.  
  9237. characterAlternativesType = 17,
  9238.     
  9239.         noAlternatesSelector                        = 0,
  9240.  
  9241.         /*    Additional character alternatives selectors
  9242.             may be defined by a font. */
  9243.  
  9244. designComplexityType = 18,
  9245.  
  9246.         designLevel1Selector                        = 0,
  9247.         designLevel2Selector                        = 1,
  9248.         designLevel3Selector                        = 2,
  9249.         designLevel4Selector                        = 3,
  9250.         designLevel5Selector                        = 4,
  9251.  
  9252. styleOptionsType = 19,
  9253.  
  9254.         noStyleOptionsSelector                        = 0,
  9255.         displayTextSelector                            = 1,
  9256.         engravedTextSelector                        = 2,
  9257.         illuminatedCapsSelector                        = 3,
  9258.         titlingCapsSelector                            = 4,
  9259.         tallCapsSelector                            = 5,
  9260.  
  9261. characterShapeType = 20,
  9262.  
  9263.         traditionalCharactersSelector                = 0,
  9264.         simplifiedCharactersSelector                = 1,
  9265.  
  9266. numberCaseType = 21,
  9267.  
  9268.         lowerCaseNumbersSelector                    = 0,
  9269.         upperCaseNumbersSelector                    = 1,
  9270.  
  9271. lastFeatureType = -1
  9272. };
  9273.  
  9274. æKY CompatibilityGXTypographicsFlags
  9275.     typographicFeaturesType
  9276.     enableEffectsOnSelector
  9277.     enableEffectsOffSelector
  9278.     ligatureType
  9279.     ligatureRequiredOnSelector
  9280.     ligatureRequiredOffSelector
  9281.     ligatureCommonOnSelector
  9282.     ligatureCommonOffSelector
  9283.     ligatureRareOnSelector
  9284.     ligatureRareOffSelector
  9285.     ligatureLogotypeOnSelector
  9286.     ligatureLogotypeOffSelector
  9287.     ligatureRebusOnSelector
  9288.     ligatureRebusOffSelector
  9289.     cursiveConnectionNoneSelector
  9290.     cursiveConnectionPartialSelector
  9291.     cursiveConnectionFullSelector
  9292.     letterNumberCaseType
  9293.     letterNumberCaseUpperLowerSelector
  9294.     letterNumberCaseAllUpperSelector
  9295.     letterNumberCaseAllLowerSelector
  9296.     letterNumberCaseSmallCapsSelector
  9297.     letterNumberCaseUpperThenLowerSelector
  9298.     letterNumberCaseUpperThenSmCapsSelector
  9299.     verticalSubstitutionOnSelector
  9300.     verticalSubstitutionOffSelector
  9301.     rearrangementType
  9302.     rearrangementOnSelector
  9303.     rearrangementOffSelector
  9304.     numberStyleType
  9305.     numberStyleForColumnsSelector
  9306.     numberStyleProportionalSelector
  9307.     smartSwashWordInitialsOnSelector
  9308.     smartSwashWordInitialsOffSelector
  9309.     smartSwashWordFinalsOnSelector
  9310.     smartSwashWordFinalsOffSelector
  9311.     smartSwashLineInitialsOnSelector
  9312.     smartSwashLineInitialsOffSelector
  9313.     smartSwashLineFinalsOnSelector
  9314.     smartSwashLineFinalsOffSelector
  9315.     smartSwashArchaicNonFinalsOnSelector
  9316.     smartSwashArchaicNonFinalsOffSelector
  9317.     diacriticsShowSelector
  9318.     diacriticsHideSelector
  9319.     diacriticsSerializeSelector
  9320.     verticalPositionNormalSelector
  9321.     verticalPositionSuperiorsSelector
  9322.     verticalPositionInferiorsSelector
  9323.     verticalPositionOrdinalsSelector
  9324.     fractionsDontFormSelector
  9325.     fractionsFormVerticalSelector
  9326.     fractionsFormDiagonalSelector
  9327.     diphthongLigaturesType
  9328.     overlappingGlyphsType
  9329.     overlappingGlyphsPreventOnSelector
  9330.     overlappingGlyphsPreventOffSelector
  9331.     extrasHyphensToEmDashOnSelector
  9332.     extrasHyphensToEmDashOffSelector
  9333.     extrasHyphenToEnDashOnSelector
  9334.     extrasHyphenToEnDashOffSelector
  9335.     extrasForceUnslashedZeroOnSelector
  9336.     extrasForceUnslashedZeroOffSelector
  9337.     extrasMakeInterrobangOnSelector
  9338.     extrasMakeInterrobangOffSelector
  9339.     mathExtrasType
  9340.     mathHyphenToMinusOnSelector
  9341.     mathHyphenToMinusOffSelector
  9342.     mathStarToMultiplyOnSelector
  9343.     mathStarToMultiplyOffSelector
  9344.     mathSlashToDivideOnSelector
  9345.     mathSlashToDivideOffSelector
  9346.     mathInequalityLigaturesOnSelector
  9347.     mathInequalityLigaturesOffSelector
  9348.     mathExponentiationOnSelector
  9349.     mathExponentiationOffSelector
  9350.     ornamentSetsNoneSelector
  9351.     ornamentSetsDingbatsSelector
  9352.     ornamentSetsPiCharactersSelector
  9353.     ornamentSetsFleuronsSelector
  9354.     ornamentSetsDecorativeBordersSelector
  9355.     ornamentSetsIntlSymbolsSelector
  9356.     ornamentSetsMathSymbolsSelector
  9357.     glyphAlternativesType
  9358. æFc Layout Feature Constants.h
  9359. æT constant
  9360. æD
  9361. These constants are provided for backward compatibility only.
  9362. To see the preferred constant names, get 411 help on
  9363.  
  9364.             "PreferredGXTypographicsFlags"
  9365.  
  9366. enum {
  9367.  
  9368. typographicFeaturesType = allTypographicFeaturesType,
  9369.   
  9370.     enableEffectsOnSelector                 = allTypeFeaturesOnSelector,
  9371.     enableEffectsOffSelector                = allTypeFeaturesOffSelector,
  9372.   
  9373. ligatureType = ligaturesType,
  9374.   
  9375.     ligatureRequiredOnSelector              = requiredLigaturesOnSelector,
  9376.     ligatureRequiredOffSelector             = requiredLigaturesOffSelector,
  9377.     ligatureCommonOnSelector                = commonLigaturesOnSelector,
  9378.     ligatureCommonOffSelector               = commonLigaturesOffSelector,
  9379.     ligatureRareOnSelector                  = rareLigaturesOnSelector,
  9380.     ligatureRareOffSelector                 = rareLigaturesOffSelector,
  9381.     ligatureLogotypeOnSelector              = logosOnSelector,
  9382.     ligatureLogotypeOffSelector             = logosOffSelector,
  9383.     ligatureRebusOnSelector                 = rebusPicturesOnSelector,
  9384.     ligatureRebusOffSelector                = rebusPicturesOffSelector,
  9385.   
  9386. /*  cursiveConnectionType = 2, */
  9387.   
  9388.     cursiveConnectionNoneSelector           = unconnectedSelector,
  9389.     cursiveConnectionPartialSelector        = partiallyConnectedSelector,
  9390.     cursiveConnectionFullSelector           = cursiveSelector,
  9391.   
  9392. letterNumberCaseType = letterCaseType,
  9393.   
  9394.     letterNumberCaseUpperLowerSelector      = upperAndLowerCaseSelector,
  9395.     letterNumberCaseAllUpperSelector        = allCapsSelector,
  9396.     letterNumberCaseAllLowerSelector        = allLowerCaseSelector,
  9397.     letterNumberCaseSmallCapsSelector       = smallCapsSelector,
  9398.     letterNumberCaseUpperThenLowerSelector  = initialCapsSelector,
  9399.     letterNumberCaseUpperThenSmCapsSelector = initialCapsAndSmallCapsSelector,
  9400.   
  9401. /*  verticalSubstitutionType = 4, */
  9402.   
  9403.     verticalSubstitutionOnSelector          = substituteVerticalFormsOnSelector,
  9404.     verticalSubstitutionOffSelector         = substituteVerticalFormsOffSelector,
  9405.   
  9406. rearrangementType = linguisticRearrangementType,
  9407.   
  9408.     rearrangementOnSelector                 = linguisticRearrangementOnSelector,
  9409.     rearrangementOffSelector                = linguisticRearrangementOffSelector,
  9410.   
  9411. numberStyleType = numberSpacingType,
  9412.   
  9413.     numberStyleForColumnsSelector           = monospacedNumbersSelector,
  9414.     numberStyleProportionalSelector         = proportionalNumbersSelector,
  9415.   
  9416. /*    Note: The checkbox feature type Alternate Designs has been removed.
  9417.  
  9418.     Most of its settings have been divided between two new RADIO BUTTON feature types:
  9419.         Design Complexity
  9420.             Book Text, Sloped, and Chancery have been replaced by generic design levels.
  9421.         Style Options
  9422.             Engraved, Display Text, Illuminated Text, and Titling Caps have been moved.
  9423.             
  9424.     The Cursive setting has been eliminated. */
  9425.   
  9426. /*  smartSwashType = 8, */
  9427.   
  9428.     smartSwashWordInitialsOnSelector        = wordInitialSwashesOnSelector,
  9429.     smartSwashWordInitialsOffSelector       = wordInitialSwashesOffSelector,
  9430.     smartSwashWordFinalsOnSelector          = wordFinalSwashesOnSelector,
  9431.     smartSwashWordFinalsOffSelector         = wordFinalSwashesOffSelector,
  9432.     smartSwashLineInitialsOnSelector        = lineInitialSwashesOnSelector,
  9433.     smartSwashLineInitialsOffSelector       = lineInitialSwashesOffSelector,
  9434.     smartSwashLineFinalsOnSelector          = lineFinalSwashesOnSelector,
  9435.     smartSwashLineFinalsOffSelector         = lineFinalSwashesOffSelector,
  9436.     smartSwashArchaicNonFinalsOnSelector    = nonFinalSwashesOnSelector,
  9437.     smartSwashArchaicNonFinalsOffSelector   = nonFinalSwashesOffSelector,
  9438.   
  9439. /*  diacriticsType = 9, */
  9440.   
  9441.     diacriticsShowSelector                  = showDiacriticsSelector,
  9442.     diacriticsHideSelector                  = hideDiacriticsSelector,
  9443.     diacriticsSerializeSelector             = decomposeDiacriticsSelector,
  9444.   
  9445. /*  verticalPositionType = 10, */
  9446.   
  9447.     verticalPositionNormalSelector          = normalPositionSelector,
  9448.     verticalPositionSuperiorsSelector       = superiorsSelector,
  9449.     verticalPositionInferiorsSelector       = inferiorsSelector,
  9450.     verticalPositionOrdinalsSelector        = ordinalsSelector,
  9451.   
  9452. /*  fractionsType = 11, */
  9453.   
  9454.     fractionsDontFormSelector               = noFractionsSelector,
  9455.     fractionsFormVerticalSelector           = verticalFractionsSelector,
  9456.     fractionsFormDiagonalSelector           = diagonalFractionsSelector,
  9457.   
  9458. diphthongLigaturesType = ligaturesType,
  9459.   
  9460. /*  diphthongLigaturesOnSelector            = 0,
  9461.     diphthongLigaturesOffSelector           = 1, */
  9462.   
  9463. overlappingGlyphsType = overlappingCharactersType,
  9464.   
  9465.     overlappingGlyphsPreventOnSelector      = preventOverlapOnSelector,
  9466.     overlappingGlyphsPreventOffSelector     = preventOverlapOffSelector,
  9467.   
  9468. /*  typographicExtrasType = 14, */
  9469.   
  9470.     extrasHyphensToEmDashOnSelector         = hyphensToEmDashOnSelector,
  9471.     extrasHyphensToEmDashOffSelector        = hyphensToEmDashOffSelector,
  9472.     extrasHyphenToEnDashOnSelector          = hyphenToEnDashOnSelector,
  9473.     extrasHyphenToEnDashOffSelector         = hyphenToEnDashOffSelector,
  9474.     extrasForceUnslashedZeroOnSelector      = unslashedZeroOnSelector,
  9475.     extrasForceUnslashedZeroOffSelector     = unslashedZeroOffSelector,
  9476.     extrasMakeInterrobangOnSelector         = formInterrobangOnSelector,
  9477.     extrasMakeInterrobangOffSelector        = formInterrobangOffSelector,
  9478.   
  9479. mathExtrasType = mathematicalExtrasType,
  9480.   
  9481.     mathHyphenToMinusOnSelector             = hyphenToMinusOnSelector,
  9482.     mathHyphenToMinusOffSelector            = hyphenToMinusOffSelector,
  9483.     mathStarToMultiplyOnSelector            = asteriskToMultiplyOnSelector,
  9484.     mathStarToMultiplyOffSelector           = asteriskToMultiplyOffSelector,
  9485.     mathSlashToDivideOnSelector             = slashToDivideOnSelector,
  9486.     mathSlashToDivideOffSelector            = slashToDivideOffSelector,
  9487.     mathInequalityLigaturesOnSelector       = inequalityLigaturesOnSelector,
  9488.     mathInequalityLigaturesOffSelector      = inequalityLigaturesOffSelector,
  9489.     mathExponentiationOnSelector            = exponentsOnSelector,
  9490.     mathExponentiationOffSelector           = exponentsOffSelector,
  9491.   
  9492. /*  ornamentSetsType = 16, */
  9493.   
  9494.     ornamentSetsNoneSelector                = noOrnamentsSelector,
  9495.     ornamentSetsDingbatsSelector            = dingbatsSelector,
  9496.     ornamentSetsPiCharactersSelector        = piCharactersSelector,
  9497.     ornamentSetsFleuronsSelector            = fleuronsSelector,
  9498.     ornamentSetsDecorativeBordersSelector   = decorativeBordersSelector,
  9499.     ornamentSetsIntlSymbolsSelector         = internationalSymbolsSelector,
  9500.     ornamentSetsMathSymbolsSelector         = mathSymbolsSelector,
  9501.   
  9502.     glyphAlternativesType = characterAlternativesType
  9503. };
  9504.  
  9505. æKY truetypeFontFormatTag
  9506.     type1FontFormatTag
  9507.     nfntFontFormatTag
  9508. æFc Scaler Types.h
  9509. æT constant
  9510. æD
  9511. #define truetypeFontFormatTag    0x74727565    /* 'true' */
  9512. #define type1FontFormatTag        0x74797031    /* 'typ1' */
  9513. #define nfntFontFormatTag        0x6e666e74    /* 'nfnt' */
  9514.  
  9515. æKY scalerErrors
  9516.     GXScalerErrors
  9517.     scaler_first_error
  9518.     scaler_first_warning
  9519.     scaler_no_problem
  9520.     scaler_null_context
  9521.     scaler_null_input
  9522.     scaler_invalid_context
  9523.     scaler_invalid_input
  9524.     scaler_invalid_font_data
  9525.     scaler_new_block_failed
  9526.     scaler_get_font_table_failed
  9527.     scaler_bitmap_alloc_failed
  9528.     scaler_outline_alloc_failed
  9529.     scaler_required_table_missing
  9530.     scaler_unsupported_outline_format
  9531.     scaler_unsupported_stream_format
  9532.     scaler_unsupported_font_format
  9533.     scaler_hinting_error
  9534.     scaler_scan_error
  9535.     scaler_internal_error
  9536.     scaler_invalid_matrix
  9537.     scaler_fixed_overflow
  9538.     scaler_API_version_mismatch
  9539.     scaler_streaming_aborted
  9540.     scaler_last_error
  9541.     scaler_no_output
  9542.     scaler_fake_metrics
  9543.     scaler_fake_linespacing
  9544.     scaler_glyph_substitution
  9545.     scaler_last_warning
  9546.     scalerError
  9547. æFc Scaler Types.h
  9548. æT constant
  9549. æD
  9550. #define scaler_first_error                1
  9551. #define scaler_first_warning            1024
  9552.  
  9553. enum scalerErrors {
  9554.     scaler_no_problem = 0,                /* Everything went OK */
  9555.     
  9556.     scaler_null_context = scaler_first_error,/* Client passed a null context pointer */
  9557.     scaler_null_input,                    /* Client passed a null input pointer */
  9558.     scaler_invalid_context,                /* There was a problem with the context */
  9559.     scaler_invalid_input,                /* There was a problem with an input */
  9560.     scaler_invalid_font_data,            /* A portion of the font was corrupt */
  9561.     scaler_new_block_failed,            /* A call to NewBlock() failed */
  9562.     scaler_get_font_table_failed,        /* The table was present (length > 0) but couldn't be read */
  9563.     scaler_bitmap_alloc_failed,            /* Call to allocate bitmap permanent block failed */
  9564.     scaler_outline_alloc_failed,        /* Call to allocate outline permanent block failed */
  9565.     scaler_required_table_missing,        /* A needed font table was not found */
  9566.     scaler_unsupported_outline_format,    /* Couldn't create an outline of the desired format */
  9567.     scaler_unsupported_stream_format,    /* ScalerStreamFont() call can't supply any requested format */
  9568.     scaler_unsupported_font_format,        /* No scaler supports the font format */
  9569.     scaler_hinting_error,                /* An error occurred during hinting */
  9570.     scaler_scan_error,                    /* An error occurred in scan conversion */
  9571.     scaler_internal_error,                /* Scaler has a bug */
  9572.     scaler_invalid_matrix,                /* The transform matrix was unusable */
  9573.     scaler_fixed_overflow,                /* An overflow ocurred during matrix operations */
  9574.     scaler_API_version_mismatch,        /* Scaler requires a newer/older version of the scaler API */
  9575.     scaler_streaming_aborted,            /* StreamFunction callback indicated that streaming should cease */
  9576.     scaler_last_error = scaler_streaming_aborted,
  9577.  
  9578.     scaler_no_output = scaler_first_warning,/* Couldn't fulfill any glyph request. */
  9579.     scaler_fake_metrics,                /* Returned metrics aren't based on information in the font */
  9580.     scaler_fake_linespacing,            /* Linespacing metrics not based on information in the font */
  9581.     scaler_glyph_substitution,            /* Requested glyph out of range, a substitute was used */
  9582.     scaler_last_warning = scaler_glyph_substitution
  9583. };
  9584.  
  9585. typedef long scalerError;
  9586.  
  9587. æKY scalerInfo
  9588. æFc Scaler Types.h
  9589. æT structure
  9590. æD
  9591. struct scalerInfo {
  9592.     gxFontFormatTag        format;            /* Font format supported by this scaler */
  9593.     Fixed                scalerVersion;    /* Version number of the scaler */
  9594.     Fixed                APIVersion;        /* Version of API implemented (compare with version in scalerContext) */
  9595. };
  9596.  
  9597. æC
  9598.  
  9599. ScalerOpen output type.
  9600.  
  9601. æKY scalerFontFlags
  9602.     requiresLayoutFont
  9603.     hasNormalLayoutFont
  9604.     canReorderFont
  9605.     canRearrangeFont
  9606.     hasOutlinesFont
  9607.     scalerFontInfo
  9608.     scalerFontFlag
  9609. æFc Scaler Types.h
  9610. æT structure
  9611. æD
  9612. enum scalerFontFlags {
  9613.     requiresLayoutFont        = 1,
  9614.     hasNormalLayoutFont        = 2,
  9615.     canReorderFont            = 4,
  9616.     canRearrangeFont        = 8,
  9617.     hasOutlinesFont            = 16
  9618. };
  9619.  
  9620. struct scalerFontInfo {
  9621.     unsigned long            unitsPerEm;
  9622.     scalerFontFlag            flags;
  9623.     unsigned long            numGlyphs;
  9624. };
  9625.  
  9626. typedef long scalerFontFlag;
  9627.  
  9628. æC
  9629.  
  9630. ScalerNewFont output type.
  9631.  
  9632. æKY scalerTransformFlags
  9633.     applyHintsTransform
  9634.     exactBitmapTransform
  9635.     useThresholdTransform
  9636.     verticalTransform
  9637.     deviceMetricsTransform
  9638.     allScalerTransformFlags
  9639.     scalerTransformFlag
  9640.     scalerTransform
  9641. æFc Scaler Types.h
  9642. æT structure
  9643. æD
  9644. enum scalerTransformFlags {
  9645.     applyHintsTransform        = 1,        /* Execute hinting instructions (grid fit) */
  9646.     exactBitmapTransform    = 2,        /* Use embedded gxBitmap iff exact size */
  9647.     useThresholdTransform    = 4,        /* Use scaled gxBitmap (if any) if below outline threshold */
  9648.     verticalTransform        = 8,        /* Glyphs will be in vertical orientation */
  9649.     deviceMetricsTransform    = 16,        /* All metrics should be device (vs. fractional) */
  9650.  
  9651.     allScalerTransformFlags    = applyHintsTransform | exactBitmapTransform | useThresholdTransform |
  9652.                               verticalTransform | deviceMetricsTransform
  9653. };
  9654.  
  9655. typedef long scalerTransformFlag;
  9656.  
  9657. struct scalerTransform {
  9658.     scalerTransformFlag    flags;        /* Hint, embedded gxBitmap control, etc. */
  9659.     Fixed            pointSize;        /* The desired pointsize */
  9660.     const gxMapping    *fontMatrix;    /* The 3x3 matrix to apply to glyphs */
  9661.     gxPoint            resolution;        /* 2D device resolution */
  9662.     gxPoint            spotSize;        /* 2D pixel size */
  9663. } ;
  9664.  
  9665. æC
  9666.  
  9667. ScalerNewTransform input types.
  9668.  
  9669. æKY scalerTransformInfo
  9670. æFc Scaler Types.h
  9671. æT structure
  9672. æD
  9673. struct scalerTransformInfo {
  9674.     gxPoint        before;            /* Spacing of the line before */
  9675.     gxPoint        after;            /* Spacing of the line after */
  9676.     gxPoint        caretAngle;        /* Rise (y) and run (x) of the insertion caret */
  9677.     gxPoint        caretOffset;    /* Adjustment to caret for variants like italic */
  9678. };
  9679.  
  9680. æC
  9681.  
  9682. ScalerNewTransform output type.
  9683.  
  9684. æKY scalerGlyphFlags
  9685.     noImageGlyph
  9686.     scalerGlyphFlag
  9687. æFc Scaler Types.h
  9688. æT constant
  9689. æD
  9690. enum scalerGlyphFlags {
  9691.     noImageGlyph = 1        /* Don't return the bitmap image for this glyph */
  9692. };
  9693.  
  9694. typedef long scalerGlyphFlag;
  9695.  
  9696. æC
  9697.  
  9698. ScalerNewGlyph input types.
  9699.  
  9700. æKY pathOutlineFormat
  9701. æFc Scaler Types.h
  9702. æT constant
  9703. æD
  9704. #define pathOutlineFormat        0x70617468    /* 'path' QuickDraw GX outline */
  9705.  
  9706. æKY scalerOutlineFormat
  9707. æFc Scaler Types.h
  9708. æT structure
  9709. æD
  9710. typedef long scalerOutlineFormat;
  9711.  
  9712. æKY scalerGlyph
  9713. æFc Scaler Types.h
  9714. æT structure
  9715. æD
  9716. struct scalerGlyph {
  9717.     long                glyphIndex;        /* Index of the glyph to be considered */
  9718.     long                bandingTop;        /* Banding controls (scanline numbers) top=bottom=0 means no banding */
  9719.     long                bandingBottom;
  9720.     scalerOutlineFormat    format;            /* Format of outline to return, ignored if no outline desired */
  9721.     scalerGlyphFlag        flags;            /* Control generation of image representation */
  9722. };
  9723.  
  9724. æKY scalerMetrics
  9725.     scalerRectangle
  9726.     scalerBitmap
  9727. æFc Scaler Types.h
  9728. æT structure
  9729. æD
  9730. struct scalerMetrics {
  9731.     gxPoint                    advance;            
  9732.     gxPoint                    sideBearing;
  9733.     gxPoint                    otherSideBearing;
  9734. };
  9735.  
  9736. struct scalerRectangle {
  9737.     long                    xMin;
  9738.     long                    yMin;
  9739.     long                    xMax;
  9740.     long                    yMax;
  9741. };
  9742.  
  9743. struct scalerBitmap {
  9744.     char                    *image;            /* Pointer to pixels */
  9745.     gxPoint                    topLeft;        /* Bitmap positioning relative to client's origin */
  9746.     struct scalerRectangle    bounds;            /* Bounding box of bitmap */
  9747.     long                    rowBytes;        /* Width in bytes */
  9748. };
  9749.  
  9750. æC
  9751.  
  9752. ScalerNewGlyph output types.
  9753.  
  9754. æKY scalerKerningFlags
  9755.     lineStartKerning
  9756.     lineEndKerning
  9757.     noCrossKerning
  9758.     allScalerKerningFlags
  9759.     scalerKerningFlag
  9760.     scalerKerningNotes
  9761.     noStakeKerningNote
  9762.     crossStreamResetKerningNote
  9763.     scalerKerningNote
  9764.     scalerKerningOutputs
  9765.     noKerningAppliedOutput
  9766.     scalerKerningOutput
  9767.     scalerKerning
  9768. æFc Scaler Types.h
  9769. æT constant
  9770. æD
  9771. enum scalerKerningFlags {
  9772.     lineStartKerning            = 1,        /* Array of glyphs starts a line */
  9773.     lineEndKerning                = 2,        /* Array of glyphs ends a line */
  9774.     noCrossKerning                = 4,        /* Prohibit cross kerning */
  9775.     allScalerKerningFlags        = lineStartKerning | lineEndKerning | noCrossKerning
  9776. };
  9777.  
  9778. typedef long scalerKerningFlag;
  9779.  
  9780. enum scalerKerningNotes {
  9781.     noStakeKerningNote            = 1,        /* Indicates a glyph was involver in a kerning pair/group */
  9782.     crossStreamResetKerningNote    = 2            /* Indicates a return-to-baseline in cross-stream kerning */
  9783. };
  9784.  
  9785. typedef unsigned short scalerKerningNote;
  9786.  
  9787. enum scalerKerningOutputs {
  9788.     noKerningAppliedOutput        = 0x0001    /* All kerning values were zero, kerning call had no effect */
  9789. };
  9790.  
  9791. typedef long scalerKerningOutput;            /* These are bit-fields */
  9792.  
  9793. struct scalerKerning {
  9794.     long                    numGlyphs;        /* Number of glyphs in the glyphs array */
  9795.     fract                    scaleFactor;    /* Amount of kerning to apply (0 == none, fract1 == all) */
  9796.     scalerKerningFlag        flags;            /* Various control flags */
  9797.     const unsigned short    *glyphs;        /* Pointer to the array of glyphs to be kerned */
  9798.     scalerKerningOutput        info;            /* Qualitative results of kerning */
  9799. } ;
  9800.  
  9801. æC
  9802.  
  9803. ScalerKernGlyphs input/output types.
  9804.  
  9805. æKY scalerStreamTypeFlags
  9806.     cexec68K
  9807.     truetypeStreamType
  9808.     type1StreamType
  9809.     type3StreamType
  9810.     type42StreamType
  9811.     type42GXStreamType
  9812.     portableStreamType
  9813.     flattenedStreamType
  9814.     evenOddModifierStreamType
  9815.     scalerStreamTypeFlag
  9816. æFc Scaler Types.h
  9817. æT constant
  9818. æD
  9819. enum scalerStreamTypeFlags {
  9820.     cexec68K                    = 0x0001,
  9821.     truetypeStreamType            = 0x0001,
  9822.     type1StreamType                = 0x0002,
  9823.     type3StreamType                = 0x0004,
  9824.     type42StreamType            = 0x0008,
  9825.     type42GXStreamType            = 0x0010,
  9826.     portableStreamType            = 0x0020,
  9827.     flattenedStreamType            = 0x0040,
  9828.     evenOddModifierStreamType    = 0x8000
  9829. };
  9830.  
  9831. typedef unsigned long scalerStreamTypeFlag;    /* Possible streamed font formats */
  9832.  
  9833. æC
  9834.  
  9835. ScalerStream input/output types.
  9836.  
  9837. æKY scalerStreamActions
  9838.     downloadStreamAction
  9839.     asciiDownloadStreamAction
  9840.     fontSizeQueryStreamAction
  9841.     encodingOnlyStreamAction
  9842.     prerequisiteQueryStreamAction
  9843.     prerequisiteItemStreamAction
  9844.     variationQueryStreamAction
  9845.     variationPSOperatorStreamAction
  9846.     scalerStreamAction
  9847. æFc Scaler Types.h
  9848. æT constant
  9849. æD
  9850. enum scalerStreamActions {
  9851.     downloadStreamAction,                /* Transmit the (possibly sparse) font data */
  9852.     asciiDownloadStreamAction,            /* Transmit font data to a 7-bit ASCII destination */
  9853.     fontSizeQueryStreamAction,            /* Estimate in-printer memory used if the font were downloaded */
  9854.     encodingOnlyStreamAction,            /* Transmit only the encoding for the font */
  9855.     prerequisiteQueryStreamAction,        /* Return a list of prerequisite items needed for the font */
  9856.     prerequisiteItemStreamAction,        /* Transmit a specified prerequisite item */
  9857.     variationQueryStreamAction,            /* Return information regarding support for variation streaming */
  9858.     variationPSOperatorStreamAction        /* Transmit Postscript code necessary to effect variation of a font */
  9859. };
  9860.  
  9861. typedef long scalerStreamAction;
  9862.  
  9863. æKY selectAllVariations
  9864. æFc Scaler Types.h
  9865. æT constant
  9866. æD
  9867. #define selectAllVariations    -1
  9868.  
  9869. æC
  9870.  
  9871. Special variationCount value meaning include all variation data.
  9872.  
  9873. æKY scalerPrerequisiteItem
  9874. æFc Scaler Types.h
  9875. æT structure
  9876. æD
  9877. struct scalerPrerequisiteItem {
  9878.     long            enumeration;    /* Shorthand tag identifying the item */
  9879.     long            size;            /* Worst case vm in printer item requires */
  9880.     unsigned char    name[1];        /* Name to be used by the client when emitting the item (Pascal string) */
  9881. };
  9882.  
  9883. æKY scalerStream
  9884. æFc Scaler Types.h
  9885. æT structure
  9886. æD
  9887. struct scalerStream {
  9888.     const void                *streamRefCon;        /* <-    private reference for client */
  9889.     const char                *targetVersion;        /* <-    e.g. Postscript printer name (C string) */
  9890.     scalerStreamTypeFlag    types;                /* <->    Data stream formats desired/supplied */
  9891.     scalerStreamAction        action;                /* <-     What action to take */
  9892.     unsigned long            memorySize;            /* ->    Worst case memory use (vm) in printer or as sfnt */
  9893.     long                    variationCount;        /* <-    The number of variations, or selectAllVariations */
  9894.     const struct gxFontVariation *variations;    /* <-    A pointer to an array of the variations */
  9895.     union {
  9896.         struct {
  9897.             const unsigned short    *encoding;    /* <-    Intention is * unsigned short[256] */
  9898.             long            *glyphBits;            /* <->    Bitvector: a bit for each glyph, 1 = desired/supplied */
  9899.             char            *name;                /* <->    The printer font name to use/used (C string) */
  9900.         } font;                                    /* Normal font streaming information */
  9901.         
  9902.         struct {        
  9903.             long            size;                /* ->     Size of the prereq. list in bytes (0 indicates no prerequisites)*/
  9904.             void            *list;                /* <-    Pointer to client block to hold list (nil = list size query only) */
  9905.         } prerequisiteQuery;                    /* Used to obtain a list of prerequisites from the scaler */
  9906.         
  9907.         long        prerequisiteItem;            /* <-     Enumeration value for the prerequisite item to be streamed.*/
  9908.         long        variationQueryResult;        /* ->    Output from the variationQueryStreamAction */
  9909.     } info;
  9910. };
  9911.  
  9912. æKY scalerStreamData
  9913. æFc Scaler Types.h
  9914. æT structure
  9915. æD
  9916. struct scalerStreamData {
  9917.     long            hexFlag;        /* Indicates that the data is to be interpreted as hex, versus binary */
  9918.     long            byteCount;        /* Number of bytes in the data being streamed */
  9919.     const void        *data;            /* Pointer to the data being streamed */
  9920. };
  9921.  
  9922. æKY scalerBlockTypes
  9923.     scalerScratchBlock
  9924.     scalerOpenBlock
  9925.     scalerFontBlock
  9926.     scalerVariationBlock
  9927.     scalerTransformBlock
  9928.     scalerGlyphBlock
  9929.     scalerBlockCount
  9930.     scalerOutlineBlock
  9931.     scalerBitmapBlock
  9932.     scalerBlockType
  9933. æFc Scaler Types.h
  9934. æT constant
  9935. æD
  9936. enum scalerBlockTypes {
  9937.     scalerScratchBlock = -1,                /* Scaler allocated/freed temporary memory */
  9938.  
  9939.     scalerOpenBlock,                        /* Five permanent input/state block types */
  9940.     scalerFontBlock,
  9941.     scalerVariationBlock,
  9942.     scalerTransformBlock,
  9943.     scalerGlyphBlock,
  9944.     scalerBlockCount,                        /* Number of permanent block types */
  9945.     
  9946.     scalerOutlineBlock = scalerBlockCount,    /* Two output block types */
  9947.     scalerBitmapBlock 
  9948. };
  9949.  
  9950. typedef long scalerBlockType;
  9951.  
  9952. æKY sfntDirectoryTag
  9953. æFc Scaler Types.h
  9954. æT constant
  9955. æD
  9956. #define sfntDirectoryTag    0x64697220
  9957.  
  9958. æC
  9959.  
  9960. 'dir ', special tag used only by scalers to access an sfnt's directory.
  9961.  
  9962. æKY GetFontTableProcPtr
  9963.     NewBlockProcPtr
  9964.     DisposeBlockProcPtr
  9965.     StreamFunctionProcPtr
  9966.     ScanLineFunctionProcPtr
  9967.     PostErrorFunctionProcPtr
  9968.     ScalerFunctionProcPtr
  9969. æFc Scaler Types.h
  9970. æT structure
  9971. æD
  9972. typedef long (*GetFontTableProcPtr) (struct scalerContext *context, gxFontTableTag tableTag, long offset, long length, void *data);
  9973. typedef void* (*NewBlockProcPtr) (struct scalerContext *context, long size, scalerBlockType theType, void* oldBlock);
  9974. typedef void (*DisposeBlockProcPtr) (struct scalerContext *context, void* scratchData, scalerBlockType theType);
  9975. typedef long (*StreamFunctionProcPtr) (struct scalerContext *context, struct scalerStream* streamInfo, const struct scalerStreamData *dataInfo);
  9976. typedef void (*ScanLineFunctionProcPtr) (struct scalerContext *context, const struct scalerBitmap* scanLine);
  9977. typedef void (*PostErrorFunctionProcPtr) (struct scalerContext *context, scalerError theProblem);
  9978. typedef void (*ScalerFunctionProcPtr) (struct scalerContext *context, void* data);
  9979.  
  9980. æC
  9981.  
  9982. Type definitions for function pointers used in the scalerContext structure.
  9983.  
  9984. æKY scalerContext
  9985. æFc Scaler Types.h
  9986. æT structure
  9987. æD
  9988. struct scalerContext {
  9989.     Fixed                        version;            /* Version of the scaler API implemented by the caller */
  9990.     void                        *theFont;            /* Caller's private reference to the font being processed */
  9991.     gxFontFormatTag                format;                /* Format of the sfnt font data, corresponds to the scaler */
  9992.  
  9993.     GetFontTableProcPtr            GetFontTable;        /* Callback for accessing sfnt tables or portions thereof */ 
  9994.     ReleaseFontTableProcPtr        ReleaseFontTable;    /* Callback for releasing sfnt tables */
  9995.     NewBlockProcPtr                NewBlock;            /* Callback for allocating and/or growing permanent and scratch blocks */
  9996.     DisposeBlockProcPtr            DisposeBlock;        /* Callback for freeing permanent and scratch blocks */
  9997.     StreamFunctionProcPtr        StreamFunction;        /* Callback for transmitting blocks of data during streaming */
  9998.     ScanLineFunctionProcPtr        ScanLineFunction;    /* Callback for emitting individual bitmap scanlines during scan conversion */
  9999.     PostErrorFunctionProcPtr    PostErrorFunction;    /* Callback for posting errors and warnings */
  10000.     
  10001.     void                        *scalerBlocks[scalerBlockCount];    /* Array of permanent scaler blocks */
  10002.         
  10003.     ScalerFunctionProcPtr    ScalerFunction;            /* Callback for scaler-specific tracing, debugging, etc. */
  10004. };
  10005.  
  10006. æC
  10007.  
  10008. scalerContext: the vehicle with which the caller and scaler communicate.
  10009.  
  10010. æKY gxGraphicsOperationOpcode
  10011.     gxNewObjectOpcode
  10012.     gxSetDataOpcode    
  10013.     gxSetDefaultOpcode
  10014.     gxReservedOpcode
  10015.     gxNextOpcode
  10016. æFc Graphics Stream Types.h
  10017. æT constant
  10018. æD
  10019. enum gxGraphicsOperationOpcode {
  10020.     gxNewObjectOpcode                = 0x00,    /* create new object */
  10021.     gxSetDataOpcode                    = 0x40,    /* add reference to current object */
  10022.     gxSetDefaultOpcode                = 0x80,    /* replace current default with this object */
  10023.     gxReservedOpcode                = 0xC0,    /* (may be used in future expansion) */
  10024.     gxNextOpcode                    = 0xFF    /* used by currentOperand field to say opcode is coming */
  10025. };
  10026.  
  10027. æKY gxGraphicsNewOpcode
  10028.     gxHeaderTypeOpcode
  10029.     gxStyleTypeOpcode
  10030.     gxInkTypeOpcode
  10031.     gxTransformTypeOpcode
  10032.     gxColorProfileTypeOpcode
  10033.     gxColorSetTypeOpcode
  10034.     gxTagTypeOpcode
  10035.     gxBitImageOpcode
  10036.     gxFontNameTypeOpcode
  10037.     gxTrailerTypeOpcode
  10038. æFc Graphics Stream Types.h
  10039. æT constant
  10040. æD
  10041. enum gxGraphicsNewOpcode {    
  10042.     gxHeaderTypeOpcode                = 0x00, /* byte following new object uses bottom 6 bits for type */
  10043.         /* gxShape types use values 1 (gxEmptyType) through 13 (gxPictureType) */
  10044.     gxStyleTypeOpcode                = 0x28,
  10045.     gxInkTypeOpcode,
  10046.     gxTransformTypeOpcode,        
  10047.     gxColorProfileTypeOpcode,
  10048.     gxColorSetTypeOpcode,
  10049.     gxTagTypeOpcode,
  10050.     gxBitImageOpcode,
  10051.     gxFontNameTypeOpcode,
  10052.     gxTrailerTypeOpcode                = 0x3F
  10053. };
  10054.  
  10055. æC
  10056.  
  10057. New object types (new object opcode).
  10058.  
  10059. æKY gxShapeDataOpcode
  10060.     gxShapeAttributesOpcode
  10061.     gxShapeTagOpcode
  10062.     gxShapeFillOpcode
  10063. æFc Graphics Stream Types.h
  10064. æT constant
  10065. æD
  10066. enum gxShapeDataOpcode {
  10067.     gxShapeAttributesOpcode,
  10068.     gxShapeTagOpcode,
  10069.     gxShapeFillOpcode
  10070. };
  10071.  
  10072. æKY gxOmitPathMask
  10073.     gxOmitPathPositionXMask
  10074.     gxOmitPathPositionYMask
  10075.     gxOmitPathDeltaXMask
  10076.     gxOmitPathDeltaYMask
  10077. æFc Graphics Stream Types.h
  10078. æT constant
  10079. æD
  10080. enum gxOmitPathMask {
  10081.     gxOmitPathPositionXMask            = 0xC0,
  10082.     gxOmitPathPositionYMask            = 0x30,
  10083.     gxOmitPathDeltaXMask            = 0x0C,
  10084.     gxOmitPathDeltaYMask            = 0x03
  10085. };
  10086.  
  10087. æKY gxOmitPathShift
  10088.     gxOmitPathPositionXShift
  10089.     gxOmitPathPositionYShift
  10090.     gxOmitPathDeltaXShift
  10091.     gxOmitPathDeltaYShift
  10092. æFc Graphics Stream Types.h
  10093. æT constant
  10094. æD
  10095. enum gxOmitPathShift {
  10096.     gxOmitPathPositionXShift        = 6,
  10097.     gxOmitPathPositionYShift        = 4,
  10098.     gxOmitPathDeltaXShift            = 2,
  10099.     gxOmitPathDeltaYShift            = 0
  10100. };
  10101.  
  10102. æKY gxOmitBitmapMask1
  10103.     gxOmitBitmapImageMask
  10104.     gxOmitBitmapWidthMask
  10105.     gxOmitBitmapHeightMask
  10106.     gxOmitBitmapRowBytesMask
  10107. æFc Graphics Stream Types.h
  10108. æT constant
  10109. æD
  10110. enum gxOmitBitmapMask1 {
  10111.     gxOmitBitmapImageMask            = 0xC0,
  10112.     gxOmitBitmapWidthMask            = 0x30,
  10113.     gxOmitBitmapHeightMask            = 0x0C,
  10114.     gxOmitBitmapRowBytesMask        = 0x03
  10115. };
  10116.  
  10117. æKY gxOmitBitmapShift1
  10118.     gxOmitBitmapImageShift
  10119.     gxOmitBitmapWidthShift
  10120.     gxOmitBitmapHeightShift
  10121.     gxOmitBitmapRowBytesShift
  10122. æFc Graphics Stream Types.h
  10123. æT constant
  10124. æD
  10125. enum gxOmitBitmapShift1 {
  10126.     gxOmitBitmapImageShift            = 6,
  10127.     gxOmitBitmapWidthShift            = 4,
  10128.     gxOmitBitmapHeightShift            = 2,
  10129.     gxOmitBitmapRowBytesShift        = 0
  10130. };
  10131.  
  10132. æKY gxOmitBitmapMask2
  10133.     gxOmitBitmapPixelSizeMask
  10134.     gxOmitBitmapSpaceMask
  10135.     gxOmitBitmapSetMask
  10136.     gxOmitBitmapProfileMask
  10137. æFc Graphics Stream Types.h
  10138. æT constant
  10139. æD
  10140. enum gxOmitBitmapMask2 {
  10141.     gxOmitBitmapPixelSizeMask        = 0xC0,
  10142.     gxOmitBitmapSpaceMask            = 0x30,
  10143.     gxOmitBitmapSetMask                = 0x0C,
  10144.     gxOmitBitmapProfileMask            = 0x03
  10145. };
  10146.  
  10147. æKY gxOmitBitmapShift2
  10148.     gxOmitBitmapPixelSizeShift
  10149.     gxOmitBitmapSpaceShift
  10150.     gxOmitBitmapSetShift
  10151.     gxOmitBitmapProfileShift
  10152. æFc Graphics Stream Types.h
  10153. æT constant
  10154. æD
  10155. enum gxOmitBitmapShift2 {
  10156.     gxOmitBitmapPixelSizeShift        = 6,
  10157.     gxOmitBitmapSpaceShift            = 4,
  10158.     gxOmitBitmapSetShift            = 2,
  10159.     gxOmitBitmapProfileShift        = 0
  10160. };
  10161.  
  10162. æKY gxOmitBitmapMask3
  10163.     gxOmitBitmapPositionXMask
  10164.     gxOmitBitmapPositionYMask
  10165. æFc Graphics Stream Types.h
  10166. æT constant
  10167. æD
  10168. enum gxOmitBitmapMask3 {
  10169.     gxOmitBitmapPositionXMask        = 0xC0,
  10170.     gxOmitBitmapPositionYMask        = 0x30
  10171. };
  10172.  
  10173. æKY gxOmitBitmapShift3
  10174.     gxOmitBitmapPositionXShift
  10175.     gxOmitBitmapPositionYShift
  10176. æFc Graphics Stream Types.h
  10177. æT constant
  10178. æD
  10179. enum gxOmitBitmapShift3 {
  10180.     gxOmitBitmapPositionXShift        = 6,
  10181.     gxOmitBitmapPositionYShift        = 4
  10182. };
  10183.  
  10184. æKY gxOmitBitImageMask
  10185.     gxOmitBitImageRowBytesMask
  10186.     gxOmitBitImageHeightMask
  10187.     gxOmitBitImageDataMask
  10188. æFc Graphics Stream Types.h
  10189. æT constant
  10190. æD
  10191. enum gxOmitBitImageMask {
  10192.     gxOmitBitImageRowBytesMask        = 0xC0,
  10193.     gxOmitBitImageHeightMask        = 0x30,
  10194.     gxOmitBitImageDataMask            = 0x08
  10195. };
  10196.  
  10197. æKY gxOmitBitImageShift
  10198.     gxOmitBitImageRowBytesShift
  10199.     gxOmitBitImageHeightShift
  10200.     gxOmitBitImageDataShift
  10201. æFc Graphics Stream Types.h
  10202. æT constant
  10203. æD
  10204. enum gxOmitBitImageShift {
  10205.     gxOmitBitImageRowBytesShift        = 6,
  10206.     gxOmitBitImageHeightShift        = 4,
  10207.     gxOmitBitImageDataShift            = 3
  10208. };
  10209.  
  10210. æKY gxBitImageCompression
  10211.     gxCopyBitImageBytesOpcode
  10212.     gxRepeatBitImageBytesOpcode
  10213.     gxLookupBitImageBytesOpcode
  10214.     gxRepeatBitImageScanOpcode
  10215. æFc Graphics Stream Types.h
  10216. æT constant
  10217. æD
  10218. enum gxBitImageCompression {
  10219.     gxCopyBitImageBytesOpcode        = 0x00,
  10220.     gxRepeatBitImageBytesOpcode        = 0x40,
  10221.     gxLookupBitImageBytesOpcode        = 0x80,
  10222.     gxRepeatBitImageScanOpcode        = 0xC0
  10223. };
  10224.  
  10225. æKY gxOmitTextMask
  10226.     gxOmitTextCharactersMask
  10227.     gxOmitTextPositionXMask
  10228.     gxOmitTextPositionYMask
  10229.     gxOmitTextDataMask
  10230. æFc Graphics Stream Types.h
  10231. æT constant
  10232. æD
  10233. enum gxOmitTextMask {
  10234.     gxOmitTextCharactersMask        = 0xC0,
  10235.     gxOmitTextPositionXMask            = 0x30,
  10236.     gxOmitTextPositionYMask            = 0x0C,
  10237.     gxOmitTextDataMask                = 0x02
  10238. };
  10239.  
  10240. æKY gxOmitTextShift
  10241.     gxOmitTextCharactersShift
  10242.     gxOmitTextPositionXShift
  10243.     gxOmitTextPositionYShift
  10244.     gxOmitTextDataShift
  10245. æFc Graphics Stream Types.h
  10246. æT constant
  10247. æD
  10248. enum gxOmitTextShift {
  10249.     gxOmitTextCharactersShift        = 6,
  10250.     gxOmitTextPositionXShift        = 4,
  10251.     gxOmitTextPositionYShift        = 2,
  10252.     gxOmitTextDataShift                = 1
  10253. };
  10254.  
  10255. æKY gxOmitGlyphMask1
  10256.     gxOmitGlyphCharactersMask
  10257.     gxOmitGlyphLengthMask
  10258.     gxOmitGlyphRunNumberMask
  10259.     gxOmitGlyphOnePositionMask
  10260.     gxOmitGlyphDataMask
  10261. æFc Graphics Stream Types.h
  10262. æT constant
  10263. æD
  10264. enum gxOmitGlyphMask1 {
  10265.     gxOmitGlyphCharactersMask        = 0xC0,
  10266.     gxOmitGlyphLengthMask            = 0x30,
  10267.     gxOmitGlyphRunNumberMask        = 0x0C,
  10268.     gxOmitGlyphOnePositionMask        = 0x02,
  10269.     gxOmitGlyphDataMask                = 0x01
  10270. };
  10271.  
  10272. æKY gxOmitGlyphShift1
  10273.     gxOmitGlyphCharactersShift
  10274.     gxOmitGlyphLengthShift
  10275.     gxOmitGlyphRunNumberShift
  10276.     gxOmitGlyphOnePositionShift
  10277.     gxOmitGlyphDataShift
  10278. æFc Graphics Stream Types.h
  10279. æT constant
  10280. æD
  10281. enum gxOmitGlyphShift1 {
  10282.     gxOmitGlyphCharactersShift        = 6,
  10283.     gxOmitGlyphLengthShift            = 4,
  10284.     gxOmitGlyphRunNumberShift        = 2,
  10285.     gxOmitGlyphOnePositionShift        = 1,
  10286.     gxOmitGlyphDataShift            = 0
  10287. };
  10288.  
  10289. æKY gxOmitGlyphMask2
  10290.     gxOmitGlyphPositionsMask
  10291.     gxOmitGlyphAdvancesMask
  10292.     gxOmitGlyphTangentsMask
  10293.     gxOmitGlyphRunsMask
  10294.     gxOmitGlyphStylesMask
  10295. æFc Graphics Stream Types.h
  10296. æT constant
  10297. æD
  10298. enum gxOmitGlyphMask2 {
  10299.     gxOmitGlyphPositionsMask        = 0xC0,
  10300.     gxOmitGlyphAdvancesMask            = 0x20,
  10301.     gxOmitGlyphTangentsMask            = 0x18,
  10302.     gxOmitGlyphRunsMask                = 0x04,
  10303.     gxOmitGlyphStylesMask            = 0x03
  10304. };
  10305.  
  10306. æKY gxOmitGlyphShift2
  10307.     gxOmitGlyphPositionsShift
  10308.     gxOmitGlyphAdvancesShift
  10309.     gxOmitGlyphTangentsShift
  10310.     gxOmitGlyphRunsShift
  10311.     gxOmitGlyphStylesShift
  10312. æFc Graphics Stream Types.h
  10313. æT constant
  10314. æD
  10315. enum gxOmitGlyphShift2 {
  10316.     gxOmitGlyphPositionsShift        = 6,
  10317.     gxOmitGlyphAdvancesShift        = 5,
  10318.     gxOmitGlyphTangentsShift        = 3,
  10319.     gxOmitGlyphRunsShift            = 2,
  10320.     gxOmitGlyphStylesShift            = 0
  10321. };
  10322.  
  10323. æKY gxOmitLayoutMask1
  10324.     gxOmitLayoutLengthMask
  10325.     gxOmitLayoutPositionXMask
  10326.     gxOmitLayoutPositionYMask
  10327.     gxOmitLayoutDataMask
  10328. æFc Graphics Stream Types.h
  10329. æT constant
  10330. æD
  10331. enum gxOmitLayoutMask1 {
  10332.     gxOmitLayoutLengthMask            = 0xC0,
  10333.     gxOmitLayoutPositionXMask        = 0x30,
  10334.     gxOmitLayoutPositionYMask        = 0x0C,
  10335.     gxOmitLayoutDataMask            = 0x02
  10336. };
  10337.  
  10338. æKY gxOmitLayoutShift1
  10339.     gxOmitLayoutLengthShift
  10340.     gxOmitLayoutPositionXShift
  10341.     gxOmitLayoutPositionYShift
  10342.     gxOmitLayoutDataShift
  10343. æFc Graphics Stream Types.h
  10344. æT constant
  10345. æD
  10346. enum gxOmitLayoutShift1 {
  10347.     gxOmitLayoutLengthShift            = 6,
  10348.     gxOmitLayoutPositionXShift        = 4,
  10349.     gxOmitLayoutPositionYShift        = 2,
  10350.     gxOmitLayoutDataShift            = 1
  10351. };
  10352.  
  10353. æKY gxOmitLayoutMask2
  10354.     gxOmitLayoutWidthMask
  10355.     gxOmitLayoutFlushMask
  10356.     gxOmitLayoutJustMask
  10357.     gxOmitLayoutOptionsMask
  10358. æFc Graphics Stream Types.h
  10359. æT constant
  10360. æD
  10361. enum gxOmitLayoutMask2 {
  10362.     gxOmitLayoutWidthMask            = 0xC0,
  10363.     gxOmitLayoutFlushMask            = 0x30,
  10364.     gxOmitLayoutJustMask            = 0x0C,
  10365.     gxOmitLayoutOptionsMask            = 0x03
  10366. };
  10367.  
  10368. æKY gxOmitLayoutShift2
  10369.     gxOmitLayoutWidthShift
  10370.     gxOmitLayoutFlushShift
  10371.     gxOmitLayoutJustShift
  10372.     gxOmitLayoutOptionsShift
  10373. æFc Graphics Stream Types.h
  10374. æT constant
  10375. æD
  10376. enum gxOmitLayoutShift2 {
  10377.     gxOmitLayoutWidthShift            = 6,
  10378.     gxOmitLayoutFlushShift            = 4,
  10379.     gxOmitLayoutJustShift            = 2,
  10380.     gxOmitLayoutOptionsShift        = 0
  10381. };
  10382.  
  10383. æKY gxOmitLayoutMask3
  10384.     gxOmitLayoutStyleRunNumberMask
  10385.     gxOmitLayoutLevelRunNumberMask
  10386.     gxOmitLayoutHasBaselineMask
  10387.     gxOmitLayoutStyleRunsMask
  10388.     gxOmitLayoutStylesMask
  10389. æFc Graphics Stream Types.h
  10390. æT constant
  10391. æD
  10392. enum gxOmitLayoutMask3 {
  10393.     gxOmitLayoutStyleRunNumberMask    = 0xC0,
  10394.     gxOmitLayoutLevelRunNumberMask    = 0x30,
  10395.     gxOmitLayoutHasBaselineMask        = 0x08,
  10396.     gxOmitLayoutStyleRunsMask        = 0x04,
  10397.     gxOmitLayoutStylesMask            = 0x03
  10398. };
  10399.  
  10400. æKY gxOmitLayoutShift3
  10401.     gxOmitLayoutStyleRunNumberShift
  10402.     gxOmitLayoutLevelRunNumberShift
  10403.     gxOmitLayoutHasBaselineShift
  10404.     gxOmitLayoutStyleRunsShift
  10405.     gxOmitLayoutStylesShift
  10406. æFc Graphics Stream Types.h
  10407. æT constant
  10408. æD
  10409. enum gxOmitLayoutShift3 {
  10410.     gxOmitLayoutStyleRunNumberShift    = 6,
  10411.     gxOmitLayoutLevelRunNumberShift    = 4,
  10412.     gxOmitLayoutHasBaselineShift    = 3,
  10413.     gxOmitLayoutStyleRunsShift        = 2,
  10414.     gxOmitLayoutStylesShift            = 0
  10415. };
  10416.  
  10417. æKY gxOmitLayoutMask4
  10418.     gxOmitLayoutLevelRunsMask
  10419.     gxOmitLayoutLevelsMask
  10420. æFc Graphics Stream Types.h
  10421. æT constant
  10422. æD
  10423. enum gxOmitLayoutMask4 {
  10424.     gxOmitLayoutLevelRunsMask        = 0x80,
  10425.     gxOmitLayoutLevelsMask            = 0x40
  10426. };
  10427.  
  10428. æKY gxOmitLayoutShift4
  10429.     gxOmitLayoutLevelRunsShift
  10430.     gxOmitLayoutLevelsShift
  10431. æFc Graphics Stream Types.h
  10432. æT constant
  10433. æD
  10434. enum gxOmitLayoutShift4 {
  10435.     gxOmitLayoutLevelRunsShift        = 7,
  10436.     gxOmitLayoutLevelsShift            = 6
  10437. };
  10438.  
  10439. æKY gxInkDataOpcode
  10440.     gxInkAttributesOpcode
  10441.     gxInkTagOpcode
  10442.     gxInkColorOpcode
  10443.     gxInkTransferModeOpcode
  10444. æFc Graphics Stream Types.h
  10445. æT constant
  10446. æD
  10447. enum gxInkDataOpcode {
  10448.     gxInkAttributesOpcode,
  10449.     gxInkTagOpcode,
  10450.     gxInkColorOpcode,
  10451.     gxInkTransferModeOpcode
  10452. };
  10453.  
  10454. æKY gxOmitColorsMask
  10455.     gxOmitColorsSpaceMask
  10456.     gxOmitColorsProfileMask
  10457.     gxOmitColorsComponentsMask
  10458.     gxOmitColorsIndexMask
  10459.     gxOmitColorsIndexSetMask
  10460. æFc Graphics Stream Types.h
  10461. æT constant
  10462. æD
  10463. enum gxOmitColorsMask {
  10464.     gxOmitColorsSpaceMask            = 0xC0,
  10465.     gxOmitColorsProfileMask            = 0x30,
  10466.     gxOmitColorsComponentsMask        = 0x0F,
  10467.     gxOmitColorsIndexMask            = 0x0C,
  10468.     gxOmitColorsIndexSetMask        = 0x03
  10469. };
  10470.  
  10471. æKY gxOmitColorsShift
  10472.     gxOmitColorsSpaceShift
  10473.     gxOmitColorsProfileShift
  10474.     gxOmitColorsComponentsShift
  10475.     gxOmitColorsIndexShift
  10476.     gxOmitColorsIndexSetShift
  10477. æFc Graphics Stream Types.h
  10478. æT constant
  10479. æD
  10480. enum gxOmitColorsShift {
  10481.     gxOmitColorsSpaceShift            = 6,
  10482.     gxOmitColorsProfileShift        = 4,
  10483.     gxOmitColorsComponentsShift        = 0,
  10484.     gxOmitColorsIndexShift            = 2,
  10485.     gxOmitColorsIndexSetShift        = 0
  10486. };
  10487.  
  10488. æKY gxOmitTransferMask1
  10489.     gxOmitTransferSpaceMask
  10490.     gxOmitTransferSetMask
  10491.     gxOmitTransferProfileMask
  10492. æFc Graphics Stream Types.h
  10493. æT constant
  10494. æD
  10495. enum gxOmitTransferMask1 {
  10496.     gxOmitTransferSpaceMask            = 0xC0,
  10497.     gxOmitTransferSetMask            = 0x30,
  10498.     gxOmitTransferProfileMask        = 0x0C
  10499. };
  10500.  
  10501. æKY gxOmitTransferShift1
  10502.     gxOmitTransferSpaceShift
  10503.     gxOmitTransferSetShift
  10504.     gxOmitTransferProfileShift
  10505. æFc Graphics Stream Types.h
  10506. æT constant
  10507. æD
  10508. enum gxOmitTransferShift1 {
  10509.     gxOmitTransferSpaceShift        = 6,
  10510.     gxOmitTransferSetShift            = 4,
  10511.     gxOmitTransferProfileShift        = 2
  10512. };
  10513.  
  10514. æKY gxOmitTransferMask2
  10515.     gxOmitTransferSourceMatrixMask
  10516.     gxOmitTransferDeviceMatrixMask
  10517.     gxOmitTransferResultMatrixMask
  10518.     gxOmitTransferFlagsMask
  10519. æFc Graphics Stream Types.h
  10520. æT constant
  10521. æD
  10522. enum gxOmitTransferMask2 {
  10523.     gxOmitTransferSourceMatrixMask    = 0xC0,
  10524.     gxOmitTransferDeviceMatrixMask    = 0x30,
  10525.     gxOmitTransferResultMatrixMask    = 0x0C,
  10526.     gxOmitTransferFlagsMask            = 0x03
  10527. };
  10528.  
  10529. æKY gxOmitTransferShift2
  10530.     gxOmitTransferSourceMatrixShift
  10531.     gxOmitTransferDeviceMatrixShift
  10532.     gxOmitTransferResultMatrixShift
  10533.     gxOmitTransferFlagsShift
  10534. æFc Graphics Stream Types.h
  10535. æT constant
  10536. æD
  10537. enum gxOmitTransferShift2 {
  10538.     gxOmitTransferSourceMatrixShift    = 6,
  10539.     gxOmitTransferDeviceMatrixShift    = 4,
  10540.     gxOmitTransferResultMatrixShift    = 2,
  10541.     gxOmitTransferFlagsShift        = 0
  10542. }; 
  10543.  
  10544. æKY gxOmitTransferComponentMask1
  10545.     gxOmitTransferComponentModeMask
  10546.     gxOmitTransferComponentFlagsMask
  10547.     gxOmitTransferComponentSourceMinimumMask
  10548.     gxOmitTransferComponentSourceMaximumMask
  10549.     gxOmitTransferComponentDeviceMinimumMask
  10550. æFc Graphics Stream Types.h
  10551. æT constant
  10552. æD
  10553. enum gxOmitTransferComponentMask1 {
  10554.     gxOmitTransferComponentModeMask                = 0x80,
  10555.     gxOmitTransferComponentFlagsMask            = 0x40,
  10556.     gxOmitTransferComponentSourceMinimumMask    = 0x30,
  10557.     gxOmitTransferComponentSourceMaximumMask    = 0x0C,
  10558.     gxOmitTransferComponentDeviceMinimumMask    = 0x03
  10559. };
  10560.  
  10561. æKY gxOmitTransferComponentShift1
  10562.     gxOmitTransferComponentModeShift
  10563.     gxOmitTransferComponentFlagsShift
  10564.     gxOmitTransferComponentSourceMinimumShift
  10565.     gxOmitTransferComponentSourceMaximumShift
  10566.     gxOmitTransferComponentDeviceMinimumShift
  10567. æFc Graphics Stream Types.h
  10568. æT constant
  10569. æD
  10570. enum gxOmitTransferComponentShift1 {
  10571.     gxOmitTransferComponentModeShift            = 7,
  10572.     gxOmitTransferComponentFlagsShift            = 6,
  10573.     gxOmitTransferComponentSourceMinimumShift    = 4,
  10574.     gxOmitTransferComponentSourceMaximumShift    = 2,
  10575.     gxOmitTransferComponentDeviceMinimumShift    = 0
  10576. };
  10577.  
  10578. æKY gxOmitTransferComponentMask2
  10579.     gxOmitTransferComponentDeviceMaximumMask
  10580.     gxOmitTransferComponentClampMinimumMask
  10581.     gxOmitTransferComponentClampMaximumMask
  10582.     gxOmitTransferComponentOperandMask
  10583. æFc Graphics Stream Types.h
  10584. æT constant
  10585. æD
  10586. enum gxOmitTransferComponentMask2 {
  10587.     gxOmitTransferComponentDeviceMaximumMask    = 0xC0,
  10588.     gxOmitTransferComponentClampMinimumMask        = 0x30,
  10589.     gxOmitTransferComponentClampMaximumMask        = 0x0C,
  10590.     gxOmitTransferComponentOperandMask            = 0x03
  10591. };
  10592.  
  10593. æKY gxOmitTransferComponentShift2
  10594.     gxOmitTransferComponentDeviceMaximumShift
  10595.     gxOmitTransferComponentClampMinimumShift
  10596.     gxOmitTransferComponentClampMaximumShift
  10597.     gxOmitTransferComponentOperandShift
  10598. æFc Graphics Stream Types.h
  10599. æT constant
  10600. æD
  10601. enum gxOmitTransferComponentShift2 {
  10602.     gxOmitTransferComponentDeviceMaximumShift    = 6,
  10603.     gxOmitTransferComponentClampMinimumShift    = 4,
  10604.     gxOmitTransferComponentClampMaximumShift    = 2,
  10605.     gxOmitTransferComponentOperandShift            = 0
  10606. };
  10607.  
  10608. æKY gxStyleDataOpcode
  10609.     gxStyleAttributesOpcode
  10610.     gxStyleTagOpcode
  10611.     gxStyleCurveErrorOpcode
  10612.     gxStylePenOpcode
  10613.     gxStyleJoinOpcode
  10614.     gxStyleDashOpcode
  10615.     gxStyleCapsOpcode
  10616.     gxStylePatternOpcode
  10617.     gxStyleTextAttributesOpcode
  10618.     gxStyleTextSizeOpcode
  10619.     gxStyleFontOpcode
  10620.     gxStyleTextFaceOpcode
  10621.     gxStylePlatformOpcode
  10622.     gxStyleFontVariationsOpcode
  10623.     gxStyleRunControlsOpcode
  10624.     gxStyleRunPriorityJustOverrideOpcode
  10625.     gxStyleRunGlyphJustOverridesOpcode
  10626.     gxStyleRunGlyphSubstitutionsOpcode
  10627.     gxStyleRunFeaturesOpcode
  10628.     gxStyleRunKerningAdjustmentsOpcode
  10629.     gxStyleJustificationOpcode
  10630. æFc Graphics Stream Types.h
  10631. æT constant
  10632. æD
  10633. enum gxStyleDataOpcode {
  10634.     gxStyleAttributesOpcode,
  10635.     gxStyleTagOpcode,
  10636.     gxStyleCurveErrorOpcode,
  10637.     gxStylePenOpcode,
  10638.     gxStyleJoinOpcode,
  10639.     gxStyleDashOpcode,
  10640.     gxStyleCapsOpcode,
  10641.     gxStylePatternOpcode,
  10642.     gxStyleTextAttributesOpcode,
  10643.     gxStyleTextSizeOpcode,
  10644.     gxStyleFontOpcode,
  10645.     gxStyleTextFaceOpcode,
  10646.     gxStylePlatformOpcode,
  10647.     gxStyleFontVariationsOpcode,
  10648.     gxStyleRunControlsOpcode,
  10649.     gxStyleRunPriorityJustOverrideOpcode,
  10650.     gxStyleRunGlyphJustOverridesOpcode,
  10651.     gxStyleRunGlyphSubstitutionsOpcode,
  10652.     gxStyleRunFeaturesOpcode,
  10653.     gxStyleRunKerningAdjustmentsOpcode,
  10654.     gxStyleJustificationOpcode
  10655. };
  10656.  
  10657. æKY gxOmitDashMask1
  10658.     gxOmitDashAttributesMask
  10659.     gxOmitDashShapeMask
  10660.     gxOmitDashAdvanceMask
  10661.     gxOmitDashPhaseMask
  10662. æFc Graphics Stream Types.h
  10663. æT constant
  10664. æD
  10665. enum gxOmitDashMask1 {
  10666.     gxOmitDashAttributesMask        = 0xC0,
  10667.     gxOmitDashShapeMask                = 0x30,
  10668.     gxOmitDashAdvanceMask            = 0x0C,
  10669.     gxOmitDashPhaseMask                = 0x03
  10670. };
  10671.  
  10672. æKY gxOmitDashShift1
  10673.     gxOmitDashAttributesShift
  10674.     gxOmitDashShapeShift
  10675.     gxOmitDashAdvanceShift
  10676.     gxOmitDashPhaseShift
  10677. æFc Graphics Stream Types.h
  10678. æT constant
  10679. æD
  10680. enum gxOmitDashShift1 {
  10681.     gxOmitDashAttributesShift        = 6,
  10682.     gxOmitDashShapeShift            = 4,
  10683.     gxOmitDashAdvanceShift            = 2,
  10684.     gxOmitDashPhaseShift            = 0
  10685. };
  10686.  
  10687. æKY gxOmitDashMask2
  10688.     gxOmitDashScaleMask
  10689. æFc Graphics Stream Types.h
  10690. æT constant
  10691. æD
  10692. enum gxOmitDashMask2 {
  10693.     gxOmitDashScaleMask                = 0xC0
  10694. };
  10695.  
  10696. æKY gxOmitDashShift2
  10697. æFc Graphics Stream Types.h
  10698. æT constant
  10699. æD
  10700. enum gxOmitDashShift2 {
  10701.     gxOmitDashScaleShift            = 6
  10702. };
  10703.  
  10704. æKY gxOmitPatternMask1
  10705.     gxOmitPatternAttributesMask
  10706.     gxOmitPatternShapeMask
  10707.     gxOmitPatternUXMask
  10708.     gxOmitPatternUYMask
  10709. æFc Graphics Stream Types.h
  10710. æT constant
  10711. æD
  10712. enum gxOmitPatternMask1 {
  10713.     gxOmitPatternAttributesMask        = 0xC0,
  10714.     gxOmitPatternShapeMask            = 0x30,
  10715.     gxOmitPatternUXMask                = 0x0C,
  10716.     gxOmitPatternUYMask                = 0x03
  10717. };
  10718.  
  10719. æKY gxOmitPatternShift1
  10720.     gxOmitPatternAttributesShift
  10721.     gxOmitPatternShapeShift
  10722.     gxOmitPatternUXShift
  10723.     gxOmitPatternUYShift
  10724. æFc Graphics Stream Types.h
  10725. æT constant
  10726. æD
  10727. enum gxOmitPatternShift1 {
  10728.     gxOmitPatternAttributesShift    = 6,
  10729.     gxOmitPatternShapeShift            = 4,
  10730.     gxOmitPatternUXShift            = 2,
  10731.     gxOmitPatternUYShift            = 0
  10732. };
  10733.  
  10734. æKY gxOmitPatternMask2
  10735.     gxOmitPatternVXMask
  10736.     gxOmitPatternVYMask
  10737. æFc Graphics Stream Types.h
  10738. æT constant
  10739. æD
  10740. enum gxOmitPatternMask2 {
  10741.     gxOmitPatternVXMask                = 0xC0,
  10742.     gxOmitPatternVYMask                = 0x30
  10743. };
  10744.  
  10745. æKY gxOmitPatternShift2
  10746.     gxOmitPatternVXShift
  10747.     gxOmitPatternVYShift
  10748. æFc Graphics Stream Types.h
  10749. æT constant
  10750. æD
  10751. enum gxOmitPatternShift2 {
  10752.     gxOmitPatternVXShift            = 6,
  10753.     gxOmitPatternVYShift            = 4
  10754. };
  10755.  
  10756. æKY gxOmitJoinMask
  10757.     gxOmitJoinAttributesMask
  10758.     gxOmitJoinShapeMask
  10759.     gxOmitJoinMiterMask
  10760. æFc Graphics Stream Types.h
  10761. æT constant
  10762. æD
  10763. enum gxOmitJoinMask {
  10764.     gxOmitJoinAttributesMask        = 0xC0,
  10765.     gxOmitJoinShapeMask                = 0x30,
  10766.     gxOmitJoinMiterMask                = 0x0C
  10767. };
  10768.  
  10769. æKY gxOmitJoinShift
  10770.     gxOmitJoinAttributesShift
  10771.     gxOmitJoinShapeShift
  10772.     gxOmitJoinMiterShift
  10773. æFc Graphics Stream Types.h
  10774. æT constant
  10775. æD
  10776. enum gxOmitJoinShift {
  10777.     gxOmitJoinAttributesShift        = 6,
  10778.     gxOmitJoinShapeShift            = 4,
  10779.     gxOmitJoinMiterShift            = 2
  10780. };
  10781.  
  10782. æKY gxOmitCapMask
  10783.     gxOmitCapAttributesMask
  10784.     gxOmitCapStartShapeMask
  10785.     gxOmitCapEndShapeMask
  10786. æFc Graphics Stream Types.h
  10787. æT constant
  10788. æD
  10789. enum gxOmitCapMask {
  10790.     gxOmitCapAttributesMask            = 0xC0,
  10791.     gxOmitCapStartShapeMask            = 0x30,
  10792.     gxOmitCapEndShapeMask            = 0x0C
  10793. };
  10794.  
  10795. æKY gxOmitCapShift
  10796.     gxOmitCapAttributesShift
  10797.     gxOmitCapStartShapeShift
  10798.     gxOmitCapEndShapeShift
  10799. æFc Graphics Stream Types.h
  10800. æT constant
  10801. æD
  10802. enum gxOmitCapShift {
  10803.     gxOmitCapAttributesShift        = 6,
  10804.     gxOmitCapStartShapeShift        = 4,
  10805.     gxOmitCapEndShapeShift            = 2
  10806. };
  10807.  
  10808. æKY gxOmitFaceMask
  10809.     gxOmitFaceLayersMask
  10810.     gxOmitFaceMappingMask
  10811. æFc Graphics Stream Types.h
  10812. æT constant
  10813. æD
  10814. enum gxOmitFaceMask {
  10815.     gxOmitFaceLayersMask            = 0xC0,
  10816.     gxOmitFaceMappingMask            = 0x30
  10817. };
  10818.  
  10819. æKY gxOmitFaceShift
  10820.     gxOmitFaceLayersShift
  10821.     gxOmitFaceMappingShift
  10822. æFc Graphics Stream Types.h
  10823. æT constant
  10824. æD
  10825. enum gxOmitFaceShift {
  10826.     gxOmitFaceLayersShift            = 6,
  10827.     gxOmitFaceMappingShift            = 4
  10828. };
  10829.  
  10830. æKY gxOmitFaceLayerMask1
  10831.     gxOmitFaceLayerFillMask
  10832.     gxOmitFaceLayerFlagsMask
  10833.     gxOmitFaceLayerStyleMask
  10834.     gxOmitFaceLayerTransformMask
  10835. æFc Graphics Stream Types.h
  10836. æT constant
  10837. æD
  10838. enum gxOmitFaceLayerMask1 {
  10839.     gxOmitFaceLayerFillMask            = 0xC0,
  10840.     gxOmitFaceLayerFlagsMask        = 0x30,
  10841.     gxOmitFaceLayerStyleMask        = 0x0C,
  10842.     gxOmitFaceLayerTransformMask    = 0x03
  10843. };
  10844.  
  10845. æKY gxOmitFaceLayerShift1
  10846.     gxOmitFaceLayerFillShift
  10847.     gxOmitFaceLayerFlagsShift
  10848.     gxOmitFaceLayerStyleShift
  10849.     gxOmitFaceLayerTransformShift
  10850. æFc Graphics Stream Types.h
  10851. æT constant
  10852. æD
  10853. enum gxOmitFaceLayerShift1 {
  10854.     gxOmitFaceLayerFillShift        = 6,
  10855.     gxOmitFaceLayerFlagsShift        = 4,
  10856.     gxOmitFaceLayerStyleShift        = 2,
  10857.     gxOmitFaceLayerTransformShift    = 0
  10858. };
  10859.  
  10860. æKY gxOmitFaceLayerMask2
  10861.     gxOmitFaceLayerBoldXMask
  10862.     gxOmitFaceLayerBoldYMask
  10863. æFc Graphics Stream Types.h
  10864. æT constant
  10865. æD
  10866. enum gxOmitFaceLayerMask2 {
  10867.     gxOmitFaceLayerBoldXMask        = 0xC0,
  10868.     gxOmitFaceLayerBoldYMask        = 0x30
  10869. };
  10870.  
  10871. æKY gxOmitFaceLayerShift2
  10872.     gxOmitFaceLayerBoldXShift
  10873.     gxOmitFaceLayerBoldYShift
  10874. æFc Graphics Stream Types.h
  10875. æT constant
  10876. æD
  10877. enum gxOmitFaceLayerShift2 {
  10878.     gxOmitFaceLayerBoldXShift        = 6,
  10879.     gxOmitFaceLayerBoldYShift        = 4
  10880. };
  10881.  
  10882. æKY gxColorSetDataOpcode
  10883.     gxColorSetReservedOpcode
  10884.     gxColorSetTagOpcode
  10885. æFc Graphics Stream Types.h
  10886. æT constant
  10887. æD
  10888. enum gxColorSetDataOpcode {
  10889.     gxColorSetReservedOpcode,
  10890.     gxColorSetTagOpcode
  10891. };
  10892.  
  10893. æKY gxProfileDataOpcode
  10894.     gxColorProfileReservedOpcode
  10895.     gxColorProfileTagOpcode
  10896. æFc Graphics Stream Types.h
  10897. æT constant
  10898. æD
  10899. enum gxProfileDataOpcode {
  10900.     gxColorProfileReservedOpcode,
  10901.     gxColorProfileTagOpcode
  10902. };
  10903.  
  10904. æKY gxTransformDataOpcode
  10905.     gxTransformReservedOpcode
  10906.     gxTransformTagOpcode
  10907.     gxTransformClipOpcode
  10908.     gxTransformMappingOpcode
  10909.     gxTransformPartMaskOpcode
  10910.     gxTransformToleranceOpcode
  10911. æFc Graphics Stream Types.h
  10912. æT constant
  10913. æD
  10914. enum gxTransformDataOpcode {
  10915.     gxTransformReservedOpcode,
  10916.     gxTransformTagOpcode,
  10917.     gxTransformClipOpcode,
  10918.     gxTransformMappingOpcode,
  10919.     gxTransformPartMaskOpcode,
  10920.     gxTransformToleranceOpcode
  10921. };
  10922.  
  10923. æKY gxGenericDataOpcode
  10924.     gxTypeOpcode
  10925.     gxSizeOpcode
  10926. æFc Graphics Stream Types.h
  10927. æT constant
  10928. æD
  10929. enum gxGenericDataOpcode {
  10930.     gxTypeOpcode,
  10931.     gxSizeOpcode
  10932. };
  10933.  
  10934. æC
  10935.  
  10936. Used by currentOperand when currentOperation is gxNextOpcode.
  10937.  
  10938. æKY gxOpcodeShift
  10939. æFc Graphics Stream Types.h
  10940. æT constant
  10941. æD
  10942. #define gxOpcodeShift                6
  10943.  
  10944. æKY gxObjectSizeMask
  10945. æFc Graphics Stream Types.h
  10946. æT constant
  10947. æD
  10948. #define gxObjectSizeMask            0x3F
  10949.  
  10950. æKY gxCompressionShift
  10951. æFc Graphics Stream Types.h
  10952. æT constant
  10953. æD
  10954. #define gxCompressionShift            6
  10955.  
  10956. æKY gxObjectTypeMask
  10957. æFc Graphics Stream Types.h
  10958. æT constant
  10959. æD
  10960. #define gxObjectTypeMask            0x3F
  10961.  
  10962. æKY gxBitImageOpcodeMask
  10963. æFc Graphics Stream Types.h
  10964. æT constant
  10965. æD
  10966. #define gxBitImageOpcodeMask        0xC0
  10967.  
  10968. æKY gxBitImageCountMask
  10969. æFc Graphics Stream Types.h
  10970. æT constant
  10971. æD
  10972. #define gxBitImageCountMask            0x3f
  10973.  
  10974. æKY gxBitImageOpcodeShift
  10975. æFc Graphics Stream Types.h
  10976. æT constant
  10977. æD
  10978. #define gxBitImageOpcodeShift         6
  10979.  
  10980. æKY gxTwoBitCompressionValues
  10981.     gxNoCompression
  10982.     gxWordCompression
  10983.     gxByteCompression
  10984.     gxOmitCompression
  10985. æFc Graphics Stream Types.h
  10986. æT constant
  10987. æD
  10988. enum gxTwoBitCompressionValues {
  10989.     gxNoCompression,
  10990.     gxWordCompression,
  10991.     gxByteCompression,
  10992.     gxOmitCompression
  10993. };
  10994.  
  10995. æKY gxCompressionMask
  10996. æFc Graphics Stream Types.h
  10997. æT constant
  10998. æD
  10999. #define gxCompressionMask            0x03
  11000.  
  11001. æKY gxFlatFontName
  11002. æFc Graphics Stream Types.h
  11003. æT structure
  11004. æD
  11005. struct gxFlatFontName {
  11006.     unsigned char    name;                /* gxFontName */
  11007.     unsigned char    platform;            /* gxFontPlatform */
  11008.     unsigned char    script;                /* gxFontScript */
  11009.     unsigned char    language;            /* gxFontLanguage */
  11010.     short            length;                /* byte length */
  11011. /*    unsigned char    gxFontName[length]    */
  11012. };
  11013.  
  11014. æKY gxFlatFontListItemTag
  11015.     flst
  11016.     'flst'
  11017. æFc Graphics Stream Types.h
  11018. æT constant
  11019. æD
  11020. #define gxFlatFontListItemTag 0x666C7374    /* 'flst' */
  11021.  
  11022. æKY gxFlatFontListItem
  11023. æFc Graphics Stream Types.h
  11024. æT structure
  11025. æD
  11026. struct gxFlatFontListItem {
  11027.     gxFont                fontID;            /*** if we get rid of this, remove #include "font types.h", above */
  11028.     unsigned char        name;            /* gxFontName */
  11029.     unsigned char        platform;        /* gxFontPlatform */
  11030.     unsigned char        script;            /* gxFontScript */
  11031.     unsigned char        language;        /* gxFontLanguage */
  11032.     short                length;            /* byte length of the name that follows */
  11033.     unsigned short        glyphCount;        /* CountFontGlyphs or 0 if gxFontGlyphsFlatten is false */
  11034.     unsigned short        axisCount;        /* CountFontVariations or 0 if gxFontVariationsFlatten is false */
  11035.     unsigned short        variationCount;    /* number of bitsVariationPairs that follow the (optional) glyphBits */
  11036. /*
  11037.     unsigned char        gxFontName[long_aligned(length)];
  11038. // if glyphCount > 0 then
  11039.     long                glyphBits[sizeBits(glyphCount)]; // glyphs for the union of all variations
  11040. // if axisCount > 0 then
  11041.     struct {                 // if glyphCount > 0 then
  11042.         long                glyphBits[sizeBits(glyphCount)];    // glyphs for this variation
  11043.         gxFontVariation        variation[axisCount];
  11044.     } bitsVariationPairs[variationCount];
  11045. */
  11046. };
  11047.  
  11048. æKY gxFlatFontList
  11049. æFc Graphics Stream Types.h
  11050. æT structure
  11051. æD
  11052. struct gxFlatFontList {
  11053.     long                        count;
  11054.     struct gxFlatFontListItem    items[gxAnyNumber];
  11055. };
  11056.  
  11057. æKY gxFlattenHeader
  11058. æFc Graphics Stream Types.h
  11059. æT structure
  11060. æD
  11061. struct gxFlattenHeader {
  11062.     Fixed                    version;
  11063.     unsigned char            flatFlags;
  11064. };
  11065.  
  11066. æKY gxOmitPictureParametersMask
  11067.     gxOmitPictureShapeMask
  11068.     gxOmitOverrideStyleMask
  11069.     gxOmitOverrideInkMask
  11070.     gxOmitOverrideTransformMask
  11071. æFc Graphics Stream Types.h
  11072. æT constant
  11073. æD
  11074. enum gxOmitPictureParametersMask {
  11075.     gxOmitPictureShapeMask            = 0xC0,
  11076.     gxOmitOverrideStyleMask            = 0x30,
  11077.     gxOmitOverrideInkMask            = 0x0C,
  11078.     gxOmitOverrideTransformMask        = 0x03
  11079. };
  11080.  
  11081. æKY gxOmitPictureParametersShift
  11082.     gxOmitPictureShapeShift
  11083.     gxOmitOverrideStyleShift
  11084.     gxOmitOverrideInkShift
  11085.     gxOmitOverrideTransformShift
  11086. æFc Graphics Stream Types.h
  11087. æT constant
  11088. æD
  11089. enum gxOmitPictureParametersShift {
  11090.     gxOmitPictureShapeShift            = 0x6,
  11091.     gxOmitOverrideStyleShift        = 0x4,
  11092.     gxOmitOverrideInkShift            = 0x2,
  11093.     gxOmitOverrideTransformShift    = 0x0
  11094. };
  11095.  
  11096. æKY gxShape
  11097.     gxPrivateShapeRecord
  11098. æFc Graphics Types.h
  11099. æT structure
  11100. æD
  11101. typedef struct gxPrivateShapeRecord *gxShape;
  11102.  
  11103. æKY gxStyle
  11104.     gxPrivateStyleRecord
  11105. æFc Graphics Types.h
  11106. æT structure
  11107. æD
  11108. typedef struct gxPrivateStyleRecord *gxStyle;
  11109.  
  11110. æKY gxInk
  11111.     gxPrivateInkRecord
  11112. æFc Graphics Types.h
  11113. æT structure
  11114. æD
  11115. typedef struct gxPrivateInkRecord *gxInk;
  11116.  
  11117. æKY gxTransform
  11118.     gxPrivateTransformRecord
  11119. æFc Graphics Types.h
  11120. æT structure
  11121. æD
  11122. typedef struct gxPrivateTransformRecord *gxTransform;
  11123.  
  11124. æKY gxTag
  11125.     gxPrivateTagRecord
  11126. æFc Graphics Types.h
  11127. æT structure
  11128. æD
  11129. typedef struct gxPrivateTagRecord *gxTag;
  11130.  
  11131. æKY gxColorSet
  11132.     gxPrivateColorSetRecord
  11133. æFc Graphics Types.h
  11134. æT structure
  11135. æD
  11136. typedef struct gxPrivateColorSetRecord *gxColorSet;
  11137.  
  11138. æKY gxColorProfile
  11139.     gxPrivateProfileRecord
  11140. æFc Graphics Types.h
  11141. æT structure
  11142. æD
  11143. typedef struct gxPrivateProfileRecord *gxColorProfile;
  11144.  
  11145. æKY gxGraphicsClient
  11146.     gxPrivateGraphicsClientRecord
  11147. æFc Graphics Types.h
  11148. æT structure
  11149. æD
  11150. typedef struct gxPrivateGraphicsClientRecord *gxGraphicsClient;
  11151.  
  11152. æKY gxViewGroup
  11153.     gxPrivateViewGroupRecord
  11154. æFc Graphics Types.h
  11155. æT structure
  11156. æD
  11157. typedef struct gxPrivateViewGroupRecord *gxViewGroup;
  11158.  
  11159. æKY gxViewPort
  11160.     gxPrivateViewPortRecord
  11161. æFc Graphics Types.h
  11162. æT structure
  11163. æD
  11164. typedef struct gxPrivateViewPortRecord *gxViewPort;
  11165.  
  11166. æKY gxViewDevice
  11167.     gxPrivateViewDeviceRecord
  11168. æFc Graphics Types.h
  11169. æT structure
  11170. æD
  11171. typedef struct gxPrivateViewDeviceRecord *gxViewDevice;
  11172.  
  11173. æKY gxColorSpace
  11174. æFc Graphics Types.h
  11175. æT structure
  11176. æD
  11177. typedef long gxColorSpace;
  11178.  
  11179. æKY shapetypes
  11180.     gxShapeTypes
  11181.     gxEmptyType
  11182.     gxPointType
  11183.     gxLineType
  11184.     gxCurveType
  11185.     gxRectangleType
  11186.     gxPolygonType
  11187.     gxPathType
  11188.     gxBitmapType
  11189.     gxTextType
  11190.     gxGlyphType
  11191.     gxLayoutType
  11192.     gxFullType
  11193.     gxPictureType
  11194.     gxShapeType
  11195. æFc Graphics Types.h
  11196. æT constant
  11197. æD
  11198. enum gxShapeTypes {
  11199.     gxEmptyType = 1,
  11200.     gxPointType,
  11201.     gxLineType,
  11202.     gxCurveType,
  11203.     gxRectangleType,
  11204.     gxPolygonType,
  11205.     gxPathType,
  11206.     gxBitmapType,
  11207.     gxTextType,
  11208.     gxGlyphType,
  11209.     gxLayoutType,
  11210.     gxFullType,
  11211.     gxPictureType
  11212. };
  11213.  
  11214. typedef long gxShapeType;
  11215.  
  11216. æC
  11217.  
  11218. gxShape enumerations.
  11219.  
  11220. æKY gxShapeFills
  11221.     gxNoFill
  11222.     gxOpenFrameFill
  11223.     gxFrameFill
  11224.     gxClosedFrameFill
  11225.     gxHollowFill
  11226.     gxEvenOddFill
  11227.     gxSolidFill
  11228.     gxWindingFill
  11229.     gxInverseEvenOddFill
  11230.     gxInverseSolidFill
  11231.     gxInverseFill
  11232.     gxInverseWindingFill
  11233.     gxShapeFill
  11234. æFc Graphics Types.h
  11235. æT constant
  11236. æD
  11237. enum gxShapeFills {
  11238.     gxNoFill,
  11239.     gxOpenFrameFill,
  11240.     gxFrameFill = gxOpenFrameFill,
  11241.     gxClosedFrameFill,
  11242.     gxHollowFill = gxClosedFrameFill,
  11243.     gxEvenOddFill,
  11244.     gxSolidFill = gxEvenOddFill,
  11245.     gxWindingFill,
  11246.     gxInverseEvenOddFill,
  11247.     gxInverseSolidFill = gxInverseEvenOddFill,
  11248.     gxInverseFill = gxInverseEvenOddFill,
  11249.     gxInverseWindingFill
  11250. };
  11251.  
  11252. typedef long gxShapeFill;
  11253.  
  11254. æKY gxShapeAttributes
  11255.     gxNoAttributes
  11256.     gxDirectShape
  11257.     gxRemoteShape
  11258.     gxCachedShape
  11259.     gxLockedShape
  11260.     gxGroupShape
  11261.     gxMapTransformShape
  11262.     gxUniqueItemsShape
  11263.     gxIgnorePlatformShape
  11264.     gxNoMetricsGridShape
  11265.     gxDiskShape
  11266.     gxMemoryShape
  11267.     gxShapeAttribute
  11268. æFc Graphics Types.h
  11269. æT constant
  11270. æD
  11271. enum gxShapeAttributes {
  11272.     gxNoAttributes,
  11273.     gxDirectShape            = 0x0001,
  11274.     gxRemoteShape            = 0x0002,
  11275.     gxCachedShape            = 0x0004,
  11276.     gxLockedShape            = 0x0008,
  11277.     gxGroupShape            = 0x0010,
  11278.     gxMapTransformShape      = 0x0020,
  11279.     gxUniqueItemsShape        = 0x0040,
  11280.     gxIgnorePlatformShape     = 0x0080,
  11281.     gxNoMetricsGridShape      = 0x0100,
  11282.     gxDiskShape                = 0x0200,
  11283.     gxMemoryShape            = 0x0400
  11284. };
  11285.  
  11286. typedef long gxShapeAttribute;
  11287.  
  11288. æKY gxEditShapeFlags
  11289.     gxBreakNeitherEdit
  11290.     gxBreakLeftEdit
  11291.     gxBreakRightEdit
  11292.     gxRemoveDuplicatePointsEdit
  11293.     gxEditShapeFlag
  11294. æFc Graphics Types.h
  11295. æT constant
  11296. æD
  11297. enum gxEditShapeFlags {
  11298.     gxBreakNeitherEdit            = 0,
  11299.     gxBreakLeftEdit                = 0x0001,
  11300.     gxBreakRightEdit            = 0x0002,
  11301.     gxRemoveDuplicatePointsEdit    = 0x0004    /* if the new first (or last) gxPoint exactly matches    */
  11302.                                             /* the gxPoint before it in the same contour, then        */
  11303.                                             /* remove it.                                            */
  11304. };
  11305.  
  11306. typedef long gxEditShapeFlag;
  11307.  
  11308. æC
  11309.  
  11310. gxShape editing enumerations.
  11311.  
  11312. æKY gxSelectToEnd
  11313. æFc Graphics Types.h
  11314. æT constant
  11315. æD
  11316. #define gxSelectToEnd -1
  11317.  
  11318. æKY gxSetToNil
  11319. æFc Graphics Types.h
  11320. æT constant
  11321. æD
  11322. #define gxSetToNil (void *) (-1)
  11323.  
  11324. æKY gxContourDirections
  11325.     gxCounterclockwiseDirection
  11326.     gxClockwiseDirection
  11327.     gxContourDirection
  11328. æFc Graphics Types.h
  11329. æT constant
  11330. æD
  11331. enum gxContourDirections {
  11332.     gxCounterclockwiseDirection,
  11333.     gxClockwiseDirection
  11334. };
  11335.  
  11336. typedef long gxContourDirection;
  11337.  
  11338. æKY gxLine
  11339. æFc Graphics Types.h
  11340. æT structure
  11341. æD
  11342. struct gxLine {
  11343.     struct gxPoint    first;
  11344.     struct gxPoint    last;
  11345. };
  11346.  
  11347. æKY gxCurve
  11348. æFc Graphics Types.h
  11349. æT structure
  11350. æD
  11351. struct gxCurve {
  11352.     struct gxPoint    first;
  11353.     struct gxPoint    control;
  11354.     struct gxPoint    last;
  11355. };
  11356.  
  11357. æKY gxRectangle
  11358. æFc Graphics Types.h
  11359. æT structure
  11360. æD
  11361. struct gxRectangle {
  11362.     Fixed        left;
  11363.     Fixed        top;
  11364.     Fixed        right;
  11365.     Fixed        bottom;
  11366. };
  11367.  
  11368. æKY gxPolygon
  11369. æFc Graphics Types.h
  11370. æT structure
  11371. æD
  11372. struct gxPolygon {
  11373.     long            vectors;
  11374.     struct gxPoint    vector[gxAnyNumber];
  11375. };
  11376.  
  11377. æKY gxPolygons
  11378. æFc Graphics Types.h
  11379. æT structure
  11380. æD
  11381. struct gxPolygons {
  11382.     long                contours;
  11383.     struct gxPolygon    contour[gxAnyNumber];
  11384. };
  11385.  
  11386. æKY gxPath
  11387. æFc Graphics Types.h
  11388. æT structure
  11389. æD
  11390. struct gxPath {
  11391.     long            vectors;
  11392.     long            controlBits[gxAnyNumber];
  11393.     struct gxPoint    vector[gxAnyNumber];
  11394. };
  11395.  
  11396. æKY gxPaths
  11397. æFc Graphics Types.h
  11398. æT structure
  11399. æD
  11400. struct gxPaths {
  11401.     long            contours;
  11402.     struct gxPath    contour[gxAnyNumber];
  11403. };
  11404.  
  11405. æKY gxBitmap
  11406. æFc Graphics Types.h
  11407. æT structure
  11408. æD
  11409. struct gxBitmap {
  11410.     char            *image;        /* pointer to pixels */
  11411.     long            width;        /* width in pixels */
  11412.     long            height;        /* height in pixels */
  11413.     long            rowBytes;    /* width in bytes */
  11414.     long            pixelSize;        /* physical bits per pixel */
  11415.     gxColorSpace      space;
  11416.     gxColorSet    set;
  11417.     gxColorProfile    profile;
  11418. };
  11419.  
  11420. æKY gxLongRectangle
  11421. æFc Graphics Types.h
  11422. æT structure
  11423. æD
  11424. struct gxLongRectangle {
  11425.     long            left;
  11426.     long            top;
  11427.     long            right;
  11428.     long            bottom;
  11429. };
  11430.  
  11431. æKY gxStyleAttributes
  11432.     gxCenterFrameStyle
  11433.     gxSourceGridStyle
  11434.     gxDeviceGridStyle
  11435.     gxInsideFrameStyle
  11436.     gxOutsideFrameStyle
  11437.     gxAutoInsetStyle
  11438.     gxStyleAttribute
  11439. æFc Graphics Types.h
  11440. æT constant
  11441. æD
  11442. enum gxStyleAttributes {
  11443.     gxCenterFrameStyle            = 0,
  11444.     gxSourceGridStyle             = 0x0001,
  11445.     gxDeviceGridStyle             = 0x0002,
  11446.     gxInsideFrameStyle            = 0x0004,
  11447.     gxOutsideFrameStyle            = 0x0008,
  11448.     gxAutoInsetStyle            = 0x0010
  11449. };
  11450.  
  11451. typedef long gxStyleAttribute;
  11452.  
  11453. æC
  11454.  
  11455. gxStyle enumerations.
  11456.  
  11457. æKY gxDashAttributes
  11458.     gxBendDash
  11459.     gxBreakDash
  11460.     gxClipDash
  11461.     gxLevelDash
  11462.     gxAutoAdvanceDash
  11463.     gxDashAttribute
  11464. æFc Graphics Types.h
  11465. æT constant
  11466. æD
  11467. enum gxDashAttributes {
  11468.     gxBendDash                = 0x0001,
  11469.     gxBreakDash                = 0x0002,
  11470.     gxClipDash                = 0x0004,
  11471.     gxLevelDash                = 0x0008,
  11472.     gxAutoAdvanceDash         = 0x0010
  11473. };
  11474.  
  11475. typedef long gxDashAttribute;
  11476.  
  11477. æKY gxPatternAttributes
  11478.     gxPortAlignPattern
  11479.     gxPortMapPattern
  11480.     gxPatternAttribute
  11481. æFc Graphics Types.h
  11482. æT constant
  11483. æD
  11484. enum gxPatternAttributes {
  11485.     gxPortAlignPattern            = 0x0001,
  11486.     gxPortMapPattern            = 0x0002
  11487. };
  11488.  
  11489. typedef long gxPatternAttribute;
  11490.  
  11491. æKY gxJoinAttributes
  11492.     gxSharpJoin
  11493.     gxCurveJoin
  11494.     gxLevelJoin
  11495.     gxJoinAttribute
  11496. æFc Graphics Types.h
  11497. æT constant
  11498. æD
  11499. enum gxJoinAttributes {
  11500.     gxSharpJoin                = 0x0000,
  11501.     gxCurveJoin                = 0x0001,
  11502.     gxLevelJoin                = 0x0002
  11503. };
  11504.  
  11505. typedef long gxJoinAttribute;
  11506.  
  11507. æKY gxCapAttributes
  11508.     gxLevelStartCap
  11509.     gxLevelEndCap
  11510.     gxCapAttribute
  11511. æFc Graphics Types.h
  11512. æT constant
  11513. æD
  11514. enum gxCapAttributes {
  11515.     gxLevelStartCap                = 0x0001,
  11516.     gxLevelEndCap                = 0x0002
  11517. };
  11518.  
  11519. typedef long gxCapAttribute;
  11520.  
  11521. æKY gxTextAttributes
  11522.     gxAutoAdvanceText
  11523.     gxNoContourGridText
  11524.     gxNoMetricsGridText
  11525.     gxAnchorPointsText
  11526.     gxVerticalText
  11527.     gxNoOpticalScaleText
  11528.     gxTextAttribute
  11529. æFc Graphics Types.h
  11530. æT constant
  11531. æD
  11532. enum gxTextAttributes {
  11533.     gxAutoAdvanceText             = 0x0001,
  11534.     gxNoContourGridText            = 0x0002,
  11535.     gxNoMetricsGridText            = 0x0004,
  11536.     gxAnchorPointsText            = 0x0008,
  11537.     gxVerticalText                = 0x0010,
  11538.     gxNoOpticalScaleText          = 0x0020
  11539. };
  11540.  
  11541. typedef long gxTextAttribute;    
  11542.  
  11543. æKY gxLeftJustify
  11544.     gxCenterJustify
  11545.     gxRightJustify
  11546.     gxFillJustify
  11547. æFc Graphics Types.h
  11548. æT constant
  11549. æD
  11550. #define gxLeftJustify 0
  11551. #define gxCenterJustify (fract1/2)
  11552. #define gxRightJustify fract1
  11553. #define gxFillJustify -1
  11554.  
  11555. æKY gxLayerFlags
  11556.     gxUnderlineAdvanceLayer
  11557.     gxSkipWhiteSpaceLayer
  11558.     gxUnderlineIntervalLayer
  11559.     gxUnderlineContinuationLayer
  11560.     gxWhiteLayer
  11561.     gxClipLayer
  11562.     gxStringLayer
  11563.     gxLayerFlag
  11564. æFc Graphics Types.h
  11565. æT constant
  11566. æD
  11567. enum gxLayerFlags {
  11568.     gxUnderlineAdvanceLayer            = 0x0001,    /* a gxLine is drawn through the advances */
  11569.     gxSkipWhiteSpaceLayer            = 0x0002,    /* except characters describing white space */
  11570.     gxUnderlineIntervalLayer        = 0x0004,    /* (+ gxStringLayer) a gxLine is drawn through the gaps between advances */
  11571.     gxUnderlineContinuationLayer    = 0x0008,    /* (+ gxStringLayer) join this underline with another face */
  11572.     gxWhiteLayer                    = 0x0010,    /* the layer draws to white instead of black */
  11573.     gxClipLayer                        = 0x0020,    /* the characters define a clip */
  11574.     gxStringLayer                    = 0x0040    /* all characters in run are combined */
  11575. };
  11576.  
  11577. typedef long gxLayerFlag;
  11578.  
  11579. æKY gxFaceLayer
  11580. æFc Graphics Types.h
  11581. æT structure
  11582. æD
  11583. struct gxFaceLayer {
  11584.     gxShapeFill        outlineFill;        /* outline framed or filled */
  11585.     gxLayerFlag        flags;                /* various additional effects */
  11586.     gxStyle            outlineStyle;        /* outline */
  11587.     gxTransform        outlineTransform;    /* italic, condense, extend */
  11588.     gxPoint            boldOutset;            /* bold */
  11589. };
  11590.  
  11591. æKY gxTextFace
  11592. æFc Graphics Types.h
  11593. æT structure
  11594. æD
  11595. struct gxTextFace {
  11596.     long                faceLayers;                /* layer to implement shadow */
  11597.     gxMapping            advanceMapping;            /* algorithmic change to advance width */
  11598.     struct gxFaceLayer    faceLayer[gxAnyNumber]; /* zero or more face layers describing the face */
  11599. };
  11600.  
  11601. æKY gxJoinRecord
  11602. æFc Graphics Types.h
  11603. æT structure
  11604. æD
  11605. struct gxJoinRecord {
  11606.     gxJoinAttribute    attributes;
  11607.     gxShape            join;
  11608.     Fixed            miter;
  11609. };
  11610.  
  11611. æKY gxDashRecord
  11612. æFc Graphics Types.h
  11613. æT structure
  11614. æD
  11615. struct gxDashRecord {
  11616.     gxDashAttribute    attributes;
  11617.     gxShape            dash;                /* similar to pattern, except rotated to gxLine slope */
  11618.     Fixed            advance;            /* specifies repeating frequency of dash */
  11619.     fract            phase;              /* specifies offset into the gxPath to start dashing */
  11620.     Fixed            scale;              /* specifies height of dash to be mapped to penWidth */
  11621. };
  11622.  
  11623. æKY gxPatternRecord
  11624. æFc Graphics Types.h
  11625. æT structure
  11626. æD
  11627. struct gxPatternRecord {
  11628.     gxPatternAttribute    attributes;
  11629.     gxShape                pattern;
  11630.     gxPoint                u;
  11631.     gxPoint                v;
  11632. };
  11633.  
  11634. æKY gxCapRecord
  11635. æFc Graphics Types.h
  11636. æT structure
  11637. æD
  11638. struct gxCapRecord {
  11639.     gxCapAttribute        attributes;
  11640.     gxShape                startCap;
  11641.     gxShape                endCap;
  11642. };
  11643.  
  11644. æKY gxInkAttributes
  11645.     gxPortAlignDitherInk
  11646.     gxForceDitherInk
  11647.     gxSuppressDitherInk
  11648.     gxSuppressHalftoneInk
  11649.     gxInkAttribute
  11650. æFc Graphics Types.h
  11651. æT constant
  11652. æD
  11653. enum gxInkAttributes {
  11654.     gxPortAlignDitherInk    = 0x0001,
  11655.     gxForceDitherInk        = 0x0002,
  11656.     gxSuppressDitherInk        = 0x0004,
  11657.     gxSuppressHalftoneInk    = 0x0008
  11658. };
  11659.  
  11660. typedef long gxInkAttribute;
  11661.  
  11662. æKY gxComponentModes
  11663.     gxNoMode
  11664.     gxCopyMode
  11665.     gxAddMode
  11666.     gxBlendMode
  11667.     gxMigrateMode
  11668.     gxMinimumMode
  11669.     gxMaximumMode
  11670.     gxHighlightMode
  11671.     gxAndMode
  11672.     gxOrMode
  11673.     gxXorMode
  11674.     gxRampAndMode
  11675.     gxRampOrMode
  11676.     gxRampXorMode
  11677.     gxOverMode
  11678.     gxAtopMode
  11679.     gxExcludeMode
  11680.     gxFadeMode
  11681.     gxComponentMode
  11682. æFc Graphics Types.h
  11683. æT constant
  11684. æD
  11685. enum gxComponentModes {
  11686.     gxNoMode = 0,
  11687.     gxCopyMode,
  11688.     gxAddMode,
  11689.     gxBlendMode,
  11690.     gxMigrateMode,
  11691.     gxMinimumMode,
  11692.     gxMaximumMode,
  11693.     gxHighlightMode,
  11694.     gxAndMode,
  11695.     gxOrMode,
  11696.     gxXorMode,
  11697.     gxRampAndMode,
  11698.     gxRampOrMode,
  11699.     gxRampXorMode,
  11700.     gxOverMode,                /* Alpha channel modes                        */
  11701.     gxAtopMode,                /* Note: In England = Beta channel modes    */
  11702.     gxExcludeMode,
  11703.     gxFadeMode
  11704. };
  11705.  
  11706. typedef unsigned char gxComponentMode;
  11707.  
  11708. æKY gxTransferFlags
  11709.     gxRejectSourceTransfer
  11710.     gxRejectDeviceTransfer
  11711.     gxSingleComponentTransfer
  11712.     gxTransferFlag
  11713. æFc Graphics Types.h
  11714. æT constant
  11715. æD
  11716. enum gxTransferFlags {
  11717.     gxRejectSourceTransfer        = 0x0001,    /* at least one component must be out of range        */
  11718.     gxRejectDeviceTransfer        = 0x0002,    /* at least one component must be out of range        */
  11719.     gxSingleComponentTransfer    = 0x0004    /* duplicate gxTransferComponent[0] for all components in transfer */
  11720. };
  11721.  
  11722. typedef long gxTransferFlag;
  11723.  
  11724. æKY gxComponentFlags
  11725.     gxOverResultComponent
  11726.     gxReverseComponent
  11727.     gxComponentFlag
  11728. æFc Graphics Types.h
  11729. æT constant
  11730. æD
  11731. enum gxComponentFlags {
  11732.     gxOverResultComponent         = 0x01,    /* & result gxColor with 0xFFFF before clamping    */
  11733.     gxReverseComponent            = 0x02    /* reverse source and device before moding        */
  11734. };
  11735.  
  11736. typedef unsigned char gxComponentFlag;
  11737.  
  11738. æKY gxTransferComponent
  11739. æFc Graphics Types.h
  11740. æT structure
  11741. æD
  11742. struct gxTransferComponent {
  11743.     gxComponentMode    mode;                /* how the component is operated upon                */
  11744.     gxComponentFlag    flags;                /* flags for each component                            */
  11745.     gxColorValue        sourceMinimum;
  11746.     gxColorValue        sourceMaximum;    /* input filter range                                */
  11747.     gxColorValue        deviceMinimum;
  11748.     gxColorValue        deviceMaximum;    /* output filter range                                */
  11749.     gxColorValue        clampMinimum;
  11750.     gxColorValue        clampMaximum;    /* output clamping range                            */
  11751.     gxColorValue        operand;        /* ratio for blend, step for migrate, gxColor for highlight    */
  11752. } ;
  11753.  
  11754. æKY gxTransferMode
  11755. æFc Graphics Types.h
  11756. æT structure
  11757. æD
  11758. struct gxTransferMode {
  11759.     gxColorSpace        space;                /* the gxColor-space the transfer mode is to operate in    */
  11760.     gxColorSet            set;
  11761.     gxColorProfile        profile;
  11762.     Fixed                sourceMatrix[5][4];
  11763.     Fixed                deviceMatrix[5][4];
  11764.     Fixed                resultMatrix[5][4];
  11765.     gxTransferFlag        flags;
  11766.     struct gxTransferComponent component[4];  /* how each component is operated upon                */
  11767. };
  11768.  
  11769. æKY gxColorPackingTypes
  11770.     gxNoColorPacking
  11771.     gxAlphaSpace
  11772.     gxWord5ColorPacking
  11773.     gxLong8ColorPacking
  11774.     gxLong10ColorPacking
  11775.     gxAlphaFirstPacking
  11776. æFc Graphics Types.h
  11777. æT constant
  11778. æD
  11779. enum gxColorPackingTypes {
  11780.     gxNoColorPacking        = 0x0000,    /* 16 bits per channel */
  11781.     gxAlphaSpace            = 0x0080,    /* space includes alpha channel */
  11782.     gxWord5ColorPacking        = 0x0500,    /* 5 bits per channel, right-justified */
  11783.     gxLong8ColorPacking        = 0x0800,    /* 8 bits per channel, right-justified */
  11784.     gxLong10ColorPacking      = 0x0a00,    /* 10 bits per channel, right-justified */
  11785.     gxAlphaFirstPacking        = 0x1000    /* alpha channel is the first field in the packed space */
  11786. };
  11787.  
  11788. æKY gxColorSpaces
  11789.     gxNoSpace
  11790.     gxRGBSpace
  11791.     gxCMYKSpace
  11792.     gxHSVSpace
  11793.     gxHLSSpace
  11794.     gxYXYSpace
  11795.     gxXYZSpace
  11796.     gxLUVSpace
  11797.     gxLABSpace
  11798.     gxYIQSpace
  11799.     gxNTSCSpace
  11800.     gxPALSpace
  11801.     gxGraySpace
  11802.     gxIndexedSpace
  11803.     gxRGBASpace
  11804.     gxGrayASpace
  11805.     gxRGB16Space
  11806.     gxRGB32Space
  11807.     gxARGB32Space
  11808.     gxCMYK32Space
  11809.     gxHSV32Space
  11810.     gxHLS32Space
  11811.     gxYXY32Space
  11812.     gxXYZ32Space
  11813.     gxLUV32Space
  11814.     gxLAB32Space
  11815.     gxYIQ32Space
  11816.     gxNTSC32Space
  11817.     gxPAL32Space
  11818. æFc Graphics Types.h
  11819. æT constant
  11820. æD
  11821. enum gxColorSpaces {
  11822.     gxNoSpace = 0,
  11823.     gxRGBSpace,
  11824.     gxCMYKSpace,
  11825.     gxHSVSpace,
  11826.     gxHLSSpace,
  11827.     gxYXYSpace,
  11828.     gxXYZSpace,
  11829.     gxLUVSpace,
  11830.     gxLABSpace,
  11831.     gxYIQSpace,
  11832.     gxNTSCSpace        = gxYIQSpace,
  11833.     gxPALSpace        = gxYIQSpace,
  11834.     gxGraySpace,
  11835.     gxIndexedSpace,
  11836.     gxRGBASpace        = gxRGBSpace + gxAlphaSpace,
  11837.     gxGrayASpace      = gxGraySpace + gxAlphaSpace,
  11838.     gxRGB16Space      = gxWord5ColorPacking + gxRGBSpace,
  11839.     gxRGB32Space      = gxLong8ColorPacking + gxRGBSpace,
  11840.     gxARGB32Space     = gxLong8ColorPacking + gxAlphaFirstPacking + gxRGBASpace,
  11841.     gxCMYK32Space     = gxLong8ColorPacking + gxCMYKSpace,
  11842.     gxHSV32Space      = gxLong10ColorPacking + gxHSVSpace,
  11843.     gxHLS32Space      = gxLong10ColorPacking + gxHLSSpace,
  11844.     gxYXY32Space      = gxLong10ColorPacking + gxYXYSpace,
  11845.     gxXYZ32Space      = gxLong10ColorPacking + gxXYZSpace,
  11846.     gxLUV32Space      = gxLong10ColorPacking + gxLUVSpace,
  11847.     gxLAB32Space      = gxLong10ColorPacking + gxLABSpace,
  11848.     gxYIQ32Space          = gxLong10ColorPacking + gxYIQSpace,
  11849.     gxNTSC32Space    = gxYIQ32Space,
  11850.     gxPAL32Space      = gxYIQ32Space
  11851. };
  11852.  
  11853. æKY gxRGBColor
  11854. æFc Graphics Types.h
  11855. æT structure
  11856. æD
  11857. struct gxRGBColor {
  11858.     gxColorValue     red;
  11859.     gxColorValue     green;
  11860.     gxColorValue     blue;
  11861. };
  11862.  
  11863. æKY gxRGBAColor
  11864. æFc Graphics Types.h
  11865. æT structure
  11866. æD
  11867. struct gxRGBAColor {
  11868.     gxColorValue     red;
  11869.     gxColorValue     green;
  11870.     gxColorValue     blue;
  11871.     gxColorValue     alpha;
  11872. };
  11873.  
  11874. æKY gxHSVColor
  11875. æFc Graphics Types.h
  11876. æT structure
  11877. æD
  11878. struct gxHSVColor {
  11879.     gxColorValue     hue;
  11880.     gxColorValue     saturation;
  11881.     gxColorValue     value;
  11882. };
  11883.  
  11884. æKY gxHLSColor
  11885. æFc Graphics Types.h
  11886. æT structure
  11887. æD
  11888. struct gxHLSColor {
  11889.     gxColorValue     hue;
  11890.     gxColorValue     lightness;
  11891.     gxColorValue     saturation;
  11892. };
  11893.  
  11894. æKY gxCMYKColor
  11895. æFc Graphics Types.h
  11896. æT structure
  11897. æD
  11898. struct gxCMYKColor {
  11899.     gxColorValue     cyan;
  11900.     gxColorValue     magenta;
  11901.     gxColorValue     yellow;
  11902.     gxColorValue     black;
  11903. };
  11904.  
  11905. æKY gxXYZColor
  11906. æFc Graphics Types.h
  11907. æT structure
  11908. æD
  11909. struct gxXYZColor {
  11910.     gxColorValue    x;
  11911.     gxColorValue    y;
  11912.     gxColorValue    z;
  11913. };
  11914.  
  11915. æKY gxYXYColor
  11916. æFc Graphics Types.h
  11917. æT structure
  11918. æD
  11919. struct gxYXYColor {
  11920.     gxColorValue    capY;
  11921.     gxColorValue    x;
  11922.     gxColorValue    y;
  11923. };
  11924.  
  11925. æKY gxLUVColor
  11926. æFc Graphics Types.h
  11927. æT structure
  11928. æD
  11929. struct gxLUVColor {
  11930.     gxColorValue    l;
  11931.     gxColorValue    u;
  11932.     gxColorValue    v;
  11933. };
  11934.  
  11935. æKY gxLABColor
  11936. æFc Graphics Types.h
  11937. æT structure
  11938. æD
  11939. struct gxLABColor {
  11940.     gxColorValue    l;
  11941.     gxColorValue    a;
  11942.     gxColorValue    b;
  11943. };
  11944.  
  11945. æKY gxYIQColor
  11946. æFc Graphics Types.h
  11947. æT structure
  11948. æD
  11949. struct gxYIQColor {
  11950.     gxColorValue     y;
  11951.     gxColorValue     i;
  11952.     gxColorValue     q;
  11953. };
  11954.  
  11955. æKY gxGrayAColor
  11956. æFc Graphics Types.h
  11957. æT structure
  11958. æD
  11959. struct gxGrayAColor {
  11960.     gxColorValue     gray;
  11961.     gxColorValue     alpha;
  11962. };
  11963.  
  11964. æKY gxIndexedColor
  11965.     gxColorIndex
  11966. æFc Graphics Types.h
  11967. æT structure
  11968. æD
  11969. typedef long gxColorIndex;
  11970.  
  11971. struct gxIndexedColor {
  11972.     gxColorIndex      index;
  11973.     gxColorSet    set;
  11974. };
  11975.  
  11976. æKY gxColor
  11977. æFc Graphics Types.h
  11978. æT structure
  11979. æD
  11980. struct gxColor {
  11981.     gxColorSpace     space;
  11982.     gxColorProfile    profile;
  11983.     union {
  11984.         struct gxCMYKColor        cmyk;
  11985.         struct gxRGBColor        rgb;
  11986.         struct gxRGBAColor        rgba;
  11987.         struct gxHSVColor        hsv;
  11988.         struct gxHLSColor        hls;
  11989.         struct gxXYZColor        xyz;
  11990.         struct gxYXYColor        yxy;
  11991.         struct gxLUVColor        luv;
  11992.         struct gxLABColor        lab;
  11993.         struct gxYIQColor        yiq;
  11994.         gxColorValue            gray;
  11995.         struct gxGrayAColor        graya;
  11996.         unsigned short            pixel16;
  11997.         unsigned long            pixel32;
  11998.         struct gxIndexedColor    indexed;
  11999.         gxColorValue            component[4];
  12000.     } element;
  12001. };
  12002.  
  12003. æKY gxSetColor
  12004. æFc Graphics Types.h
  12005. æT structure
  12006. æD
  12007. union gxSetColor {
  12008.     gxCMYKColor        cmyk;
  12009.     gxRGBColor        rgb;
  12010.     gxRGBAColor        rgba;
  12011.     gxHSVColor        hsv;
  12012.     gxHLSColor        hls;
  12013.     gxXYZColor        xyz;
  12014.     gxYXYColor        yxy;
  12015.     gxLUVColor        luv;
  12016.     gxLABColor        lab;
  12017.     gxYIQColor        yiq;
  12018.     gxColorValue    gray;
  12019.     gxGrayAColor    graya;
  12020.     unsigned short    pixel16;
  12021.     unsigned long    pixel32;
  12022.     gxColorValue    component[4];
  12023. };
  12024.  
  12025. æKY gxShapeParts
  12026.     gxNoPart
  12027.     gxBoundsPart
  12028.     gxGeometryPart
  12029.     gxPenPart
  12030.     gxCornerPointPart
  12031.     gxControlPointPart
  12032.     gxEdgePart
  12033.     gxJoinPart
  12034.     gxStartCapPart
  12035.     gxEndCapPart
  12036.     gxDashPart
  12037.     gxPatternPart
  12038.     gxGlyphBoundsPart
  12039.     gxGlyphFirstPart
  12040.     gxGlyphLastPart
  12041.     gxSideBearingPart
  12042.     gxAnyPart
  12043.     gxShapePart
  12044. æFc Graphics Types.h
  12045. æT constant
  12046. æD
  12047. enum gxShapeParts {                    /* parts of a gxShape considered in hit testing: */
  12048.     gxNoPart            = 0,        /* (in order of evaluation) */
  12049.     gxBoundsPart        = 0x0001,
  12050.     gxGeometryPart        = 0x0002,
  12051.     gxPenPart            = 0x0004,
  12052.     gxCornerPointPart    = 0x0008,
  12053.     gxControlPointPart    = 0x0010,
  12054.     gxEdgePart            = 0x0020,
  12055.     gxJoinPart            = 0x0040,
  12056.     gxStartCapPart        = 0x0080,
  12057.     gxEndCapPart        = 0x0100,
  12058.     gxDashPart            = 0x0200,
  12059.     gxPatternPart        = 0x0400,
  12060.     gxGlyphBoundsPart    = gxJoinPart,
  12061.     gxGlyphFirstPart    = gxStartCapPart,
  12062.     gxGlyphLastPart        = gxEndCapPart,
  12063.     gxSideBearingPart    = gxDashPart,
  12064.  
  12065.     gxAnyPart            = gxBoundsPart | gxGeometryPart | gxPenPart | gxCornerPointPart | gxControlPointPart |
  12066.                           gxEdgePart | gxJoinPart | gxStartCapPart | gxEndCapPart | gxDashPart | gxPatternPart
  12067. };
  12068.  
  12069. typedef long gxShapePart;
  12070.  
  12071. æKY gxHitTestInfo
  12072. æFc Graphics Types.h
  12073. æT structure
  12074. æD
  12075. struct gxHitTestInfo {
  12076.     gxShapePart        what;                /* which part of gxShape */
  12077.     long            index;                /* control gxPoint index */
  12078.     Fixed            distance;            /* how far from gxPoint or outside of area click was */
  12079.  
  12080.     /* these fields are only set by GXHitTestPicture */
  12081.     gxShape            which;
  12082.     gxShape            containerPicture;    /* picture which contains gxShape hit */
  12083.     long            containerIndex;        /* the index within that picture  */
  12084.     long            totalIndex;            /* the total index within the root picture */
  12085. };
  12086.  
  12087. æKY gxPortAttributes
  12088.     gxGrayPort
  12089.     gxAlwaysGridPort
  12090.     gxEnableMatchPort
  12091.     gxPortAttribute
  12092. æFc Graphics Types.h
  12093. æT constant
  12094. æD
  12095. enum gxPortAttributes {
  12096.     gxGrayPort                = 0x0001,
  12097.     gxAlwaysGridPort        = 0x0002,
  12098.     gxEnableMatchPort        = 0x0004
  12099. };
  12100.  
  12101. typedef long gxPortAttribute;
  12102.  
  12103. æKY gxDeviceAttributes
  12104.     gxDirectDevice
  12105.     gxRemoteDevice
  12106.     gxInactiveDevice
  12107.     gxDeviceAttribute
  12108. æFc Graphics Types.h
  12109. æT constant
  12110. æD
  12111. enum gxDeviceAttributes {
  12112.     gxDirectDevice            = 0x01,        /* for the device gxBitmap baseAddr pointer */
  12113.     gxRemoteDevice            = 0x02,
  12114.     gxInactiveDevice        = 0x04
  12115. };
  12116.  
  12117. typedef long gxDeviceAttribute;
  12118.  
  12119. æKY gxDotTypes
  12120.     gxRoundDot
  12121.     gxSpiralDot
  12122.     gxSquareDot
  12123.     gxLineDot
  12124.     gxEllipticDot
  12125.     gxTriangleDot
  12126.     gxDispersedDot
  12127.     gxDotType
  12128. æFc Graphics Types.h
  12129. æT constant
  12130. æD
  12131. enum gxDotTypes {
  12132.     gxRoundDot = 1,
  12133.     gxSpiralDot,
  12134.     gxSquareDot,
  12135.     gxLineDot,
  12136.     gxEllipticDot,
  12137.     gxTriangleDot,
  12138.     gxDispersedDot
  12139. };
  12140.  
  12141. typedef long gxDotType;
  12142.  
  12143. æKY gxTintTypes
  12144.     gxNoTint
  12145.     gxLuminanceTint
  12146.     gxAverageTint
  12147.     gxMixtureTint
  12148.     gxComponent1Tint
  12149.     gxComponent2Tint
  12150.     gxComponent3Tint
  12151.     gxComponent4Tint
  12152.     gxTintType
  12153. æFc Graphics Types.h
  12154. æT constant
  12155. æD
  12156. enum gxTintTypes {
  12157.     gxNoTint,
  12158.     gxLuminanceTint,        /* use the luminance of the gxColor */
  12159.     gxAverageTint,            /* add all the components and divide by the number of components */
  12160.     gxMixtureTint,            /* find the closest gxColor on the axis between the foreground and background */
  12161.     gxComponent1Tint,        /* use the value of the first component of the gxColor */
  12162.     gxComponent2Tint,        /* ... etc. */
  12163.     gxComponent3Tint,
  12164.     gxComponent4Tint
  12165. };
  12166.  
  12167. typedef long gxTintType;
  12168.  
  12169. æKY gxHalftone
  12170. æFc Graphics Types.h
  12171. æT structure
  12172. æD
  12173. struct gxHalftone {
  12174.     Fixed        angle;
  12175.     Fixed        frequency;
  12176.     gxDotType    method;
  12177.     gxTintType    tinting;
  12178.     gxColor        dotColor;
  12179.     gxColor        backgroundColor;
  12180.     gxColorSpace    tintSpace;
  12181. };
  12182.  
  12183. æKY gxAllViewDevices
  12184.     gxScreenViewDevices
  12185. æFc Graphics Types.h
  12186. æT constant
  12187. æD
  12188. #define gxAllViewDevices        ((gxViewGroup) 0)
  12189. #define gxScreenViewDevices        ((gxViewGroup) 1)
  12190.  
  12191. æKY gxSpoolCommands
  12192.     gxOpenReadSpool
  12193.     gxOpenWriteSpool
  12194.     gxReadSpool
  12195.     gxWriteSpool
  12196.     gxCloseSpool
  12197.     gxSpoolCommand
  12198. æFc Graphics Types.h
  12199. æT constant
  12200. æD
  12201. enum gxSpoolCommands {
  12202.     gxOpenReadSpool    = 1,
  12203.     gxOpenWriteSpool,
  12204.     gxReadSpool,
  12205.     gxWriteSpool,
  12206.     gxCloseSpool
  12207. };
  12208.  
  12209. typedef long gxSpoolCommand;
  12210.  
  12211. æKY gxGraphicsOpcode
  12212. æFc Graphics Types.h
  12213. æT structure
  12214. æD
  12215. typedef unsigned char gxGraphicsOpcode;
  12216.  
  12217. æKY gxSpoolProcPtr
  12218. æFc Graphics Types.h
  12219. æT structure
  12220. æD
  12221. typedef long (*gxSpoolProcPtr) (gxSpoolCommand command, struct gxSpoolBlock *block);
  12222.  
  12223. æKY gxSpoolBlock
  12224. æFc Graphics Types.h
  12225. æT structure
  12226. æD
  12227. struct gxSpoolBlock {
  12228.  
  12229. /* these fields are read only */
  12230.     gxSpoolProcPtr        spoolProcedure;    
  12231.     void                *buffer;            /* source/destination pointer to data */
  12232.     long                bufferSize;            /* how many bytes for the system to read (flatten) / write (unflatten) */
  12233.  
  12234. /* these fields are written to (but are not read from) */
  12235.     long                count;                /* how many bytes for the caller to read (unflatten) /write (flatten) */
  12236.     long                operationSize;        /* operation size (including operand byte) */
  12237.     long                operationOffset;    /* the data offset, if any, within the current operation */
  12238.     gxGraphicsOpcode    lastTypeOpcode;     /* type of last created object */
  12239.     gxGraphicsOpcode    currentOperation;    /* operation emitted by flatten, or intrepreted by last unflatten */
  12240.     gxGraphicsOpcode    currentOperand;        /* e.g., gxTransformTypeOpcode, gxInkTagOpcode */
  12241.     unsigned char        compressed;            /* one of: gxTwoBitCompressionValues */
  12242. };
  12243.  
  12244. æKY gxFlattenFlags
  12245.     gxFontListFlatten
  12246.     gxFontGlyphsFlatten
  12247.     gxFontVariationsFlatten
  12248.     gxBitmapAliasFlatten
  12249.     gxFlattenFlag
  12250. æFc Graphics Types.h
  12251. æT constant
  12252. æD
  12253. enum gxFlattenFlags {
  12254.     gxFontListFlatten        = 0x01,    /* if set, generate a gxTag containing list of each gxFont referenced */
  12255.     gxFontGlyphsFlatten        = 0x02,    /* if set, generate a gxTag containing the list of glyphs referenced inside the gxFont */
  12256.     gxFontVariationsFlatten    = 0x04,    /* if set, append the gxTag with separate [variation] coordinates */
  12257.     gxBitmapAliasFlatten    = 0x08    /* if set, open bitmap alias files and flatten out their image data */
  12258. };
  12259.  
  12260. typedef long gxFlattenFlag;
  12261.  
  12262. æKY gxGraphicsSystemClient
  12263.     gxClientAttributes
  12264.     gxStaticHeapClient
  12265.     gxClientAttribute
  12266. æFc Graphics Types.h
  12267. æT constant
  12268. æD
  12269. #define gxGraphicsSystemClient    (gxGraphicsClient) (-1)
  12270.  
  12271. enum gxClientAttributes {
  12272.     gxStaticHeapClient        = 0x0001
  12273. };
  12274.  
  12275. typedef long gxClientAttribute;
  12276.  
  12277. æKY gxOriginalGraphicsFunction
  12278. æFc Graphics Types.h
  12279. æT constant
  12280. æD
  12281. #define gxOriginalGraphicsFunction            -1
  12282.  
  12283. æKY gxOriginalGraphicsIdentifier
  12284. æFc Graphics Types.h
  12285. æT constant
  12286. æD
  12287. #define gxOriginalGraphicsIdentifier        'grfx'
  12288.  
  12289. æKY gxBitmapDataSourceAlias
  12290.     gxBitmapFileAliasTagType
  12291.     gxBitmapFileAliasImageValue
  12292. æFc Graphics Types.h
  12293. æT structure
  12294. æD
  12295. struct gxBitmapDataSourceAlias {
  12296.     unsigned long    fileOffset;                    /* file offset (in bytes) of top-left pixel */
  12297.     unsigned long    aliasRecordSize;            /* size of alias record below */
  12298.     unsigned char    aliasRecord[gxAnyNumber];    /* the actual alias record data */
  12299. };
  12300.  
  12301. #define    gxBitmapFileAliasTagType        'bfil'
  12302. #define    gxBitmapFileAliasImageValue        0x00000001
  12303.  
  12304.  
  12305. æKY PlaceHolder
  12306. æFc GXExceptions.h
  12307. æT function
  12308. æD
  12309. void PlaceHolder(void);
  12310.  
  12311. æKY resumeLabelsOn
  12312.     resumeLabelsOff
  12313. æFc GXExceptions.h
  12314. æT macro
  12315. æD
  12316. #define resumeLabelsOn(exception) resume_ ## exception:
  12317. #define resumeLabelsOff(exception)
  12318.  
  12319. æC
  12320.  
  12321. These macros are used to control the insertion of the resume labels. If off
  12322. then you can have multiple requires sharing the same label but cannot resume.
  12323.  
  12324. æKY resumeLabel
  12325.     SetExceptionOption
  12326. æFc GXExceptions.h
  12327. æT macro
  12328. æD
  12329. #define resumeLabel(exception) 
  12330. #define SetExceptionOption(option)
  12331.  
  12332. æC
  12333.  
  12334. When using SetExceptionOption do not put a ; or anything other than a comment
  12335. after the macro. We disable resume labels, and the SetExceptionOption macro
  12336. because they are not ANSI C happy.
  12337.  
  12338. æKY trace
  12339.     notrace
  12340. æFc GXExceptions.h
  12341. æT macro
  12342. æD
  12343. #define trace    "\p;dprintf;doTrace"
  12344. #define    notrace    "\p;dprintf;mnop"
  12345.  
  12346. æC
  12347.  
  12348. trace and notrace are used for the traceOption for dprintf. If trace is used then
  12349. the actual behavior cn be controled from Macsbug. The macros in Macsbug are traceGo
  12350. and traceBreak. traceGo is the default and execution will continue after the break.
  12351. If traceBreak is used then execution will halt.
  12352.  
  12353. æKY traceon
  12354.     debugon
  12355. æFc GXExceptions.h
  12356. æT macro
  12357. æD
  12358. #define traceon ((DEBUGLEVEL > DEBUGWARN) && defined(TRACEON))
  12359. #define debugon (DEBUGLEVEL > DEBUGWARN)
  12360.  
  12361. æC
  12362.  
  12363. traceon and debugon are used to test for options. For example:
  12364.  
  12365. #if traceon
  12366. dprintf(trace, "Foo Happened %d", 10);
  12367. #endif
  12368.  
  12369. #if debugon
  12370. dprintf(notrace, "Foo Happened %d", 10);
  12371. #endif
  12372.  
  12373. æKY dprintf
  12374. æFc GXExceptions.h
  12375. æT function
  12376. æD
  12377. void dprintf(StringPtr traceOption, char theFormat[], ...)
  12378. = { 0xABFF, 0x594F };
  12379.  
  12380. æC
  12381.  
  12382. ROUTINE
  12383.     dprintf
  12384.  
  12385. DESCRIPTION
  12386.     dprintf is used like printf only the information is displayed in MacsBug.
  12387.     traceOption is used to specify whether the execution should continue after the
  12388.     break or not. Of the standard printf convertion characters only "n" is not
  12389.     supported. In addition to the standard characters, the following are defined:
  12390.     
  12391.         b    Boolean. Outputs either true or false.
  12392.         l    Point. Used like the d option. (the l is for location.)
  12393.         L    point*. Used like the f option. (the L is for Location.)
  12394.         F    Fixed point number. Used like the f option.
  12395.         T    Fract number. Used like the f option.
  12396.         r    Rect*. Displays the rect with each piece seperated by ", ". Used like the
  12397.             d option.
  12398.         R    rectangle*. Similar to r but for fixed point rectangles. Used like the
  12399.             f option.
  12400.         M    mapping. Displays the mapping seperated by ", " and "\n". The third column
  12401.             is displayed as fract. Used like the f option.
  12402.     
  12403.     dprintf requires that the MacsBug dcmd dprintf is present.
  12404.     
  12405. EXAMPLE
  12406.     The code:
  12407.     
  12408.         dprintf(notrace, "This is a Fract: %.8T", 0x70000000);
  12409.     
  12410.     Will display:
  12411.     
  12412.         This is a Fract: 1.75000000
  12413.     
  12414.     See the MPW C Reference for more information on printf.
  12415.  
  12416. æKY check_dprintf
  12417. æFc GXExceptions.h
  12418. æT function
  12419. æD
  12420. void* check_dprintf(void* assertion, StringPtr traceOption, char theFormat[], ...)
  12421. = { 0x201F, 0x6606, 0xABFF, 0x594F, 0x4240, 0x594F };
  12422.  
  12423. æC
  12424.  
  12425. ROUTINE check_dprintf
  12426.  
  12427. DESCRIPTION
  12428.     if assertion is non-zero then assertion is returned. Otherwise the dprintf is
  12429.     invoked and zero is returned.
  12430.     
  12431. Echo "                                                        ∂n∂
  12432.     PROC                                                    ∂n∂
  12433.     MOVE.L    (SP)+,D0        ; Pop value into D0                ∂n∂
  12434.     BNE.S    @1                ; If !0 then branch                ∂n∂
  12435.     DC.W    $ABFF            ; DebugStr                        ∂n∂
  12436.     SUBQ    #4,SP            ; Fix stack for debugStr        ∂n∂
  12437.     CLR.W    D0                ; result is zero                ∂n∂
  12438. @1    SUBQ    #4,SP            ; Fix stack for pop                ∂n∂
  12439.     ENDPROC                                                    ∂n∂
  12440.     END                                                        ∂n∂
  12441. " | Asm -l
  12442.  
  12443. æKY checkpos_dprintf
  12444. æFc GXExceptions.h
  12445. æT function
  12446. æD
  12447. void* checkpos_dprintf(void* assertion, StringPtr traceOption, char theFormat[], ...)
  12448. = { 0x201F, 0x6C06, 0xABFF, 0x594F, 0x4240, 0x594F };
  12449.  
  12450. æC
  12451.  
  12452. ROUTINE checkpos_dprintf
  12453.  
  12454. DESCRIPTION
  12455.     if assertion is non-zero then assertion is returned. Otherwise the dprintf is
  12456.     invoked and zero is returned.
  12457.     
  12458. Echo "                                                        ∂n∂
  12459.     PROC                                                    ∂n∂
  12460.     MOVE.L    (SP)+,D0        ; Pop value into D0                ∂n∂
  12461.     BGE.S    @1                ; If >= 0 then branch            ∂n∂
  12462.     DC.W    $ABFF            ; DebugStr                        ∂n∂
  12463.     SUBQ    #4,SP            ; Fix stack for debugStr        ∂n∂
  12464.     CLR.W    D0                ; result is zero                ∂n∂
  12465. @1    SUBQ    #4,SP            ; Fix stack for pop                ∂n∂
  12466.     ENDPROC                                                    ∂n∂
  12467.     END                                                        ∂n∂
  12468. " | Asm -l
  12469.  
  12470. æKY check
  12471. æFc GXExceptions.h
  12472. æT macro
  12473. æD
  12474. #if DEBUGLEVEL==DEBUGON
  12475.  
  12476. #define check(assertion)                                                \
  12477.     if (true) {                                                            \
  12478.         if (assertion) ;                                                \
  12479.         else {                                                            \
  12480.             dprintf(notrace, "Assertion \"%s\" Failed",    #assertion);    \
  12481.         }                                                                \
  12482.     } else PlaceHolder()
  12483.  
  12484. #elif DEBUGLEVEL==DEBUGFULL
  12485.  
  12486. #define check(assertion)                                                \
  12487.     if (true) {                                                            \
  12488.         if (assertion) ;                                                \
  12489.         else {                                                            \
  12490.             dprintf(notrace,    "Assertion \"%s\" Failed\n"                \
  12491.                                 "File: %s\n"                            \
  12492.                                 "Line: %d",                                \
  12493.                 #assertion, __FILE__, __LINE__);                        \
  12494.         }                                                                \
  12495.     } else PlaceHolder()
  12496.  
  12497. #else
  12498.  
  12499. #define check(assertion)
  12500.  
  12501. #endif
  12502.  
  12503. æC
  12504.  
  12505. MACRO check
  12506.  
  12507. DESCRIPTION
  12508.     If DEBUGON or DEBUGFULL are defined then check will test the assertion and if it
  12509.     failes break to the Debugger and print the assertion. If DEBUGON or DEBUGFULL are
  12510.     not defined then check does nothing.
  12511.  
  12512. EXAMPLE
  12513.     check is very useful for testing preconditions. In the below example DoStuff is
  12514.     defined to take a handle to some object. It is a precondition of DoStuff that the
  12515.     handle must not be nil (and therefore is the callers resposibility to ensure that
  12516.     it is not.
  12517.  
  12518.         void DoStuff(Handle h)
  12519.         {
  12520.             check(h);
  12521.             (FooType) (*h)->fooField = 0;
  12522.         } 
  12523.     
  12524.     Durring testing, however, if DEBUGFULL where defined and a caller did not live up
  12525.     to the contract by passing in a nil handle then a break would occure with the
  12526.     following:
  12527.     
  12528.         Assertion "h" Failed
  12529.         File: FooDisk:FooFile
  12530.         Line: 3
  12531.  
  12532. æKY ncheck
  12533. æFc GXExceptions.h
  12534. æT macro
  12535. æD
  12536. #if    DEBUGLEVEL==DEBUGON
  12537.  
  12538. #define ncheck(assertion)                                                \
  12539.     if (true) {                                                            \
  12540.         void*    __privateAssertion    = (void*) (assertion);                \
  12541.                                                                         \
  12542.         if (__privateAssertion) {                                        \
  12543.             dprintf(notrace, "Assertion \"!(%s [= 0x%08X])\" Failed",    \
  12544.                 #assertion, __privateAssertion);                        \
  12545.         }                                                                \
  12546.     } else PlaceHolder()
  12547.  
  12548. #elif DEBUGLEVEL==DEBUGFULL
  12549.  
  12550. #define ncheck(assertion)                                                    \
  12551.     if (true) {                                                                \
  12552.         void*    __privateAssertion    = (void*) (assertion);                    \
  12553.                                                                             \
  12554.         if (__privateAssertion) {                                            \
  12555.             dprintf(notrace,    "Assertion \"!(%s [= 0x%08X])\" Failed\n"    \
  12556.                                 "File: %s\n"                                \
  12557.                                 "Line: %d",                                    \
  12558.             #assertion, __privateAssertion, __FILE__, __LINE__);            \
  12559.         }                                                                    \
  12560.     } else PlaceHolder()
  12561.  
  12562. #else
  12563.  
  12564. #define ncheck(assertion)
  12565.  
  12566. #endif
  12567.  
  12568. æC
  12569.  
  12570. MACRO ncheck
  12571.  
  12572. DESCRIPTION
  12573.     ncheck is the same as check only it requires that the assertion is false.
  12574.  
  12575. EXAMPLE
  12576.     ncheck is very useful for testing results when no recovery can be taken even if
  12577.     the action fails. This is most common during clean up.
  12578.  
  12579.         void DisposeStuff(shape theShape)
  12580.         {
  12581.             GXDisposeShape(theShape);
  12582.             ncheck(GXGetGraphicsError());
  12583.         } 
  12584.     
  12585.     If DEBUGFULL where defined and for some reason the dealocation failed then the
  12586.     following would be reported:
  12587.     
  12588.         Assertion "!(GXGetGraphicsError() [= -108])" Failed
  12589.         File: FooDisk:FooFile
  12590.         Line: 3
  12591.  
  12592. æKY check_action
  12593. æFc GXExceptions.h
  12594. æT macro
  12595. æD
  12596. #if DEBUGLEVEL==DEBUGON
  12597.  
  12598. #define check_action(assertion, action)                                    \
  12599.     if (true) {                                                            \
  12600.         if (assertion) ;                                                \
  12601.         else {                                                            \
  12602.             dprintf(notrace, "Assertion \"%s\" Failed",    #assertion);    \
  12603.             { action }                                                    \
  12604.         }                                                                \
  12605.     } else PlaceHolder()
  12606.  
  12607. #elif DEBUGLEVEL==DEBUGFULL
  12608.  
  12609. #define check_action(assertion, action)                                    \
  12610.     if (true) {                                                            \
  12611.         if (assertion) ;                                                \
  12612.         else {                                                            \
  12613.             dprintf(notrace,    "Assertion \"%s\" Failed\n"                \
  12614.                                 "File: %s\n"                            \
  12615.                                 "Line: %d",                                \
  12616.                 #assertion, __FILE__, __LINE__);                        \
  12617.             { action }                                                    \
  12618.         }                                                                \
  12619.     } else PlaceHolder()
  12620.  
  12621. #else
  12622.  
  12623. #define check_action(assertion, action)
  12624.  
  12625. #endif
  12626.  
  12627. æC
  12628.  
  12629. MACRO check_action
  12630.  
  12631. DESCRIPTION
  12632.     If DEBUGON or DEBUGFULL are defined then check_action will test the assertion and
  12633.     if it failes break to the Debugger and print the assertion then execute the
  12634.     statement. If DEBUGON or DEBUGFULL are not defined then check_action does nothing.
  12635.  
  12636. æKY ncheck_action
  12637. æFc GXExceptions.h
  12638. æT macro
  12639. æD
  12640. #if    DEBUGLEVEL==DEBUGON
  12641.  
  12642. #define ncheck_action(assertion, action)                                            \
  12643.     if (true) {                                                                        \
  12644.         void*    __privateAssertion    = (void*) (assertion);                            \
  12645.                                                                                     \
  12646.         if (__privateAssertion) {                                                    \
  12647.             dprintf(notrace, "Assertion \"!(%s [= 0x%08X])\" Failed",                \
  12648.                 #assertion, __privateAssertion);                                    \
  12649.             { action }                                                                \
  12650.         }                                                                            \
  12651.     } else PlaceHolder()
  12652.  
  12653. #elif DEBUGLEVEL==DEBUGFULL
  12654.  
  12655. #define ncheck_action(assertion, action)                                            \
  12656.     if (true) {                                                                        \
  12657.         void*    __privateAssertion    = (void*) (assertion);                            \
  12658.                                                                                     \
  12659.         if (__privateAssertion) {                                                    \
  12660.             dprintf(notrace,    "Assertion \"!(%s [= 0x%08X])\" Failed\n"            \
  12661.                                 "File: %s\n"                                        \
  12662.                                 "Line: %d",                                            \
  12663.             #assertion, __privateAssertion, __FILE__, __LINE__);                    \
  12664.             { action }                                                                \
  12665.         }                                                                            \
  12666.     } else PlaceHolder()
  12667.  
  12668. #else
  12669.  
  12670. #define ncheck_action(assertion, action)
  12671.  
  12672. #endif
  12673.  
  12674. æC
  12675.  
  12676. MACRO ncheck_action
  12677.  
  12678. DESCRIPTION
  12679.     If DEBUGON or DEBUGFULL are defined then check_action will evaluate the assertion
  12680.     and if it evaluates to non-zero break to the Debugger and print the assertion then
  12681.     execute the statement. If DEBUGON or DEBUGFULL are not defined then ncheck_action
  12682.     does nothing.
  12683.  
  12684. æKY require
  12685. æFc GXExceptions.h
  12686. æT macro
  12687. æD
  12688. #if DEBUGLEVEL==DEBUGON
  12689.  
  12690. #define require(assertion, exception)                                    \
  12691.     if (true) {                                                            \
  12692.         if (assertion) ;                                                \
  12693.         else {                                                            \
  12694.             dprintf(notrace,    "Assertion \"%s\" Failed\n"                \
  12695.                                 "Exception \"%s\" Raised",                \
  12696.             #assertion, #exception);                                    \
  12697.             goto exception;                                                \
  12698.             resumeLabel(exception);                                        \
  12699.         }                                                                \
  12700.     } else PlaceHolder()
  12701.  
  12702. #elif DEBUGLEVEL==DEBUGFULL
  12703.  
  12704. #define require(assertion, exception)                                    \
  12705.     if (true) {                                                            \
  12706.         if (assertion) ;                                                \
  12707.         else {                                                            \
  12708.             dprintf(notrace,    "Assertion \"%s\" Failed\n"                \
  12709.                                 "Exception \"%s\" Raised\n"                \
  12710.                                 "File: %s\n"                            \
  12711.                                 "Line: %d",                                \
  12712.                 #assertion, #exception, __FILE__, __LINE__);            \
  12713.             goto exception;                                                \
  12714.             resumeLabel(exception);                                        \
  12715.         }                                                                \
  12716.     } else PlaceHolder()
  12717.  
  12718. #else
  12719.  
  12720. #define require(assertion, exception)                                    \
  12721.     if (true) {                                                            \
  12722.         if (assertion) ;                                                \
  12723.         else {                                                            \
  12724.             goto exception;                                                \
  12725.             resumeLabel(exception);                                        \
  12726.         }                                                                \
  12727.     } else PlaceHolder()
  12728.  
  12729. #endif
  12730.  
  12731. æC
  12732.  
  12733. MACRO require
  12734.  
  12735. DESCRIPTION
  12736.     require tests the assertion just as check does (with a break into the Debugger if
  12737.     the assertion failed and DEBUGON or DEBUGFULL was defined). If the assertion fails
  12738.     then a goto exception is executed.
  12739.  
  12740. EXAMPLE
  12741.     OSErr DoStuff(void)
  12742.     {
  12743.         FooTypeHandle        hFoo;
  12744.         BananaTypeHandle    hBanana;
  12745.         
  12746.         hFoo = NewHandle(sizeof(FooType));
  12747.         require(hFoo, NewHandle_hFoo);
  12748.         
  12749.         hBanana = NewHandle(&hBanana, sizeof(BananaType));
  12750.         require(hBanana, NewHandle_hBanana);
  12751.         
  12752.         return(noErr);
  12753.         
  12754.     NewHandle_hBanana:
  12755.         DisposHandle(hFoo);
  12756.     NewHandle_hFoo:
  12757.         return(memFullErr);
  12758.     }
  12759.  
  12760. æKY nrequire
  12761. æFc GXExceptions.h
  12762. æT macro
  12763. æD
  12764. #if DEBUGLEVEL==DEBUGON
  12765.  
  12766. #define nrequire(assertion, exception)                                                \
  12767.     if (true) {                                                                        \
  12768.         void*    __privateAssertion    = (void*) (assertion);                            \
  12769.                                                                                     \
  12770.         if (__privateAssertion) {                                                    \
  12771.             dprintf(notrace,    "Assertion \"!(%s [= 0x%08X])\" Failed\n"            \
  12772.                                 "Exception \"%s\" Raised",                            \
  12773.                 #assertion, __privateAssertion, #exception);                        \
  12774.             goto exception;                                                            \
  12775.             resumeLabel(exception);                                                    \
  12776.         }                                                                            \
  12777.     } else PlaceHolder()
  12778.  
  12779. #elif DEBUGLEVEL==DEBUGFULL
  12780.  
  12781. #define nrequire(assertion, exception)                                                \
  12782.     if (true) {                                                                        \
  12783.         void*    __privateAssertion    = (void*) (assertion);                            \
  12784.                                                                                     \
  12785.         if (__privateAssertion) {                                                    \
  12786.             dprintf(notrace,    "Assertion \"!(%s [= 0x%08X])\" Failed\n"            \
  12787.                                 "Exception \"%s\" Raised\n"                            \
  12788.                                 "File: %s\n"                                        \
  12789.                                 "Line: %d",                                            \
  12790.                 #assertion, __privateAssertion, #exception, __FILE__,                \
  12791.                 __LINE__);                                                            \
  12792.             goto exception;                                                            \
  12793.             resumeLabel(exception);                                                    \
  12794.         }                                                                            \
  12795.     } else PlaceHolder()
  12796.  
  12797. #else
  12798.  
  12799. #define nrequire(assertion, exception)                                                \
  12800.     if (true) {                                                                        \
  12801.         if (assertion) {                                                            \
  12802.             goto exception;                                                            \
  12803.             resumeLabel(exception);                                                    \
  12804.         }                                                                            \
  12805.     } else PlaceHolder()
  12806.  
  12807. #endif
  12808.  
  12809. æC
  12810.  
  12811. MACRO nrequire
  12812.  
  12813. DESCRIPTION
  12814.     nrequire is the same as require except that it insures that assertion is false.
  12815.  
  12816. EXAMPLE
  12817.     OSErr DoStuff(void)
  12818.     {
  12819.         OSErr                theError;
  12820.         FooTypeHandle        hFoo;
  12821.         BananaTypeHandle    hBanana;
  12822.         
  12823.         theError = MNewHandle(&hFoo, sizeof(FooType));
  12824.         nrequire(theError, MNewHandle_hFoo);
  12825.         
  12826.         theError = MNewHandle(&hBanana, sizeof(BananaType));
  12827.         nrequire(theError, MNewHandle_hBanana);
  12828.         
  12829.         return(noErr);
  12830.         
  12831.     MNewHandle_hBanana:
  12832.         (void)MDisposHandle(&hFoo);
  12833.     MNewHandle_hFoo:
  12834.         return(theError);
  12835.     }
  12836.  
  12837. æKY require_action
  12838. æFc GXExceptions.h
  12839. æT macro
  12840. æD
  12841. #if DEBUGLEVEL==DEBUGON
  12842.  
  12843. #define require_action(assertion, exception, action)                    \
  12844.     if (true) {                                                            \
  12845.         if (assertion) ;                                                \
  12846.         else {                                                            \
  12847.             dprintf(notrace,    "Assertion \"%s\" Failed\n"                \
  12848.                                 "Exception \"%s\" Raised",                \
  12849.             #assertion, #exception);                                    \
  12850.             { action }                                                    \
  12851.             goto exception;                                                \
  12852.             resumeLabel(exception);                                        \
  12853.         }                                                                \
  12854.     } else PlaceHolder()
  12855.  
  12856. #elif DEBUGLEVEL==DEBUGFULL
  12857.  
  12858. #define require_action(assertion, exception, action)                    \
  12859.     if (true) {                                                            \
  12860.         if (assertion) ;                                                \
  12861.         else {                                                            \
  12862.             dprintf(notrace,    "Assertion \"%s\" Failed\n"                \
  12863.                                 "Exception \"%s\" Raised\n"                \
  12864.                                 "File: %s\n"                            \
  12865.                                 "Line: %d",                                \
  12866.                 #assertion, #exception, __FILE__, __LINE__);            \
  12867.             { action }                                                    \
  12868.             goto exception;                                                \
  12869.             resumeLabel(exception);                                        \
  12870.         }                                                                \
  12871.     } else PlaceHolder()
  12872.  
  12873. #else
  12874.  
  12875. #define require_action(assertion, exception, action)                    \
  12876.     if (true) {                                                            \
  12877.         if (assertion) ;                                                \
  12878.         else {                                                            \
  12879.             { action }                                                    \
  12880.             goto exception;                                                \
  12881.             resumeLabel(exception);                                        \
  12882.         }                                                                \
  12883.     } else PlaceHolder()
  12884.  
  12885. #endif
  12886.  
  12887. æC
  12888.  
  12889. MACRO require_action
  12890.  
  12891. DESCRIPTION
  12892.     require_action is identical to require except if the assertion fails then action
  12893.     is executed.
  12894.  
  12895. EXAMPLE
  12896.     OSErr DoStuff(void)
  12897.     {
  12898.         FooTypeHandle        hFoo;
  12899.         BananaTypeHandle    hBanana;
  12900.         OSErr                theError;
  12901.         
  12902.         hFoo = NewHandle(sizeof(FooType));
  12903.         require_action(hFoo, NewHandle_hFoo, theError = MemError(););
  12904.         
  12905.         hBanana = NewHandle(&hBanana, sizeof(BananaType));
  12906.         require_action(hBanana, NewHandle_hBanana, theError = MemError(););
  12907.         
  12908.         return(noErr);
  12909.         
  12910.     NewHandle_hBanana:
  12911.         DisposHandle(hFoo);
  12912.     NewHandle_hFoo:
  12913.         return(theError);
  12914.     }
  12915.  
  12916. æKY nrequire_action
  12917. æFc GXExceptions.h
  12918. æT macro
  12919. æD
  12920. #if DEBUGLEVEL==DEBUGON
  12921.  
  12922. #define nrequire_action(assertion, exception, action)                                \
  12923.     if (true) {                                                                        \
  12924.         void*    __privateAssertion    = (void*) (assertion);                            \
  12925.                                                                                     \
  12926.         if (__privateAssertion) {                                                    \
  12927.             dprintf(notrace,    "Assertion \"!(%s [= 0x%08X])\" Failed\n"            \
  12928.                                 "Exception \"%s\" Raised",                            \
  12929.                 #assertion, __privateAssertion, #exception);                        \
  12930.             { action }                                                                \
  12931.             goto exception;                                                            \
  12932.             resumeLabel(exception);                                                    \
  12933.         }                                                                            \
  12934.     } else PlaceHolder()
  12935.  
  12936. #elif DEBUGLEVEL==DEBUGFULL
  12937.  
  12938. #define nrequire_action(assertion, exception, action)                                \
  12939.     if (true) {                                                                        \
  12940.         void*    __privateAssertion    = (void*) (assertion);                            \
  12941.                                                                                     \
  12942.         if (__privateAssertion) {                                                    \
  12943.             dprintf(notrace,    "Assertion \"!(%s [= 0x%08X])\" Failed\n"            \
  12944.                                 "Exception \"%s\" Raised\n"                            \
  12945.                                 "File: %s\n"                                        \
  12946.                                 "Line: %d",                                            \
  12947.                 #assertion, __privateAssertion, #exception, __FILE__,                \
  12948.                 __LINE__);                                                            \
  12949.             { action }                                                                \
  12950.             goto exception;                                                            \
  12951.             resumeLabel(exception);                                                    \
  12952.         }                                                                            \
  12953.     } else PlaceHolder()
  12954.  
  12955. #else
  12956.  
  12957. #define nrequire_action(assertion, exception, action)                    \
  12958.     if (true) {                                                            \
  12959.         if (assertion) {                                                \
  12960.             { action }                                                    \
  12961.             goto exception;                                                \
  12962.             resumeLabel(exception);                                        \
  12963.         }                                                                \
  12964.     } else PlaceHolder()
  12965.  
  12966. #endif
  12967.  
  12968. æC
  12969.  
  12970. MACRO nrequire_action
  12971.  
  12972. DESCRIPTION
  12973.     nrequire_action is the same as nrequire except it executes action when the
  12974.     assertion is true.
  12975.  
  12976. EXAMPLE
  12977.     void *DoStuff(void)
  12978.     {
  12979.         OSErr                theError;
  12980.         FooTypeHandle        hFoo;
  12981.         BananaTypeHandle    hBanana;
  12982.         void *                result;
  12983.         
  12984.         theError = GetSpecialHandle(&hFoo);
  12985.         nrequire_action(theError, GetSpecialHandle, result = nil);
  12986.         
  12987.         result = (*hFoo)->theStuff;
  12988.         
  12989.         // Just let if fall through in this contrived example
  12990.         
  12991. GetSpecialHandle:
  12992.         return(result);
  12993.     }
  12994.  
  12995. æKY retry
  12996. æFc GXExceptions.h
  12997. æT macro
  12998. æD
  12999. #define retry                                 \
  13000.     if (true) {                                \
  13001.         goto start;                            \
  13002.     } else PlaceHolder()
  13003.  
  13004. æC
  13005.  
  13006. MACRO retry
  13007.  
  13008. DESCRIPTION
  13009.     retry is used to start a routine over if the routine fails. Variable initialization
  13010.     is not redone so variables can be changed to retry the routine under different
  13011.     circumstances. Routine parameters should not be changed or the routine will no
  13012.     longer be fulfilling its contract.
  13013.  
  13014. EXAMPLE
  13015.     OSErr DoStuff(void)
  13016.     {
  13017.         OSErr                theError;
  13018.         Handle                h;
  13019.         Int16                iSize;
  13020.         Int16                iPieces = kGoodNumber;
  13021.         Int16                i;
  13022.         
  13023.     start:
  13024.     
  13025.         iSize = kFullSize / iPieces;
  13026.         
  13027.         for (i = 0; i <= iPieces; i++) {
  13028.             theError = MNewHandle(&h, iSize);
  13029.             nrequire(theError, MNewHandle);
  13030.             .
  13031.             .
  13032.             .
  13033.             theError = MDisposeHandle(&h);
  13034.             ncheck(theError);
  13035.         }
  13036.         
  13037.         return(noErr);
  13038.                 
  13039.     MNewHandle:
  13040.  
  13041.         (void)MDisposeHandle(&h);
  13042.         iPieces += kMore;
  13043.         
  13044.         if (iPieces < kMaxPieces)
  13045.             retry;
  13046.         else
  13047.             return(theError);
  13048.     }
  13049.  
  13050. æKY resume
  13051. æFc GXExceptions.h
  13052. æT macro
  13053. æD
  13054. #define resume(exception)                    \
  13055.     if (true) {                                \
  13056.         goto resume_ ## exception;            \
  13057.     } else PlaceHolder()
  13058.  
  13059. æC
  13060.  
  13061. MACRO resume
  13062.  
  13063. DESCRIPTION
  13064.     resume is used to resume execution at the point where an exception occured. Below
  13065.     is a very contrived example of it's use. Note that this example also shows how
  13066.     to handle an exception in an exception. Although this is rarly neccisary sometimes
  13067.     it can be useful but make sure that it is clearly commented.
  13068.  
  13069. EXAMPLE
  13070.     Boolean DoStuff(Boolean ***theSettings)
  13071.     {
  13072.         *theSettings = (Boolean **)GetResource('STIN', 128);
  13073.         require(*theSettings, GetResource);
  13074.         
  13075.         // Execution will resume here
  13076.         
  13077.         return(***theSettings);
  13078.     
  13079.     GetResource:
  13080.         *theSettings = (Boolean **)NewHandle(sizeof(Boolean));
  13081.         require(*theSettings, NewHandle);
  13082.         *theSettings = false;
  13083.         resume(GetResource);
  13084.         
  13085.     // Secondary exceptions
  13086.         
  13087.     NewHandle:
  13088.         return(false);
  13089.     }
  13090.  
  13091. æKY gestaltGXPrintingMgrVersion
  13092. æFc PrintingManager.h
  13093. æT macro
  13094. æD
  13095. #define gestaltGXPrintingMgrVersion 'pmgr'
  13096.  
  13097. æKY gestaltGXVersion
  13098. æFc PrintingManager.h
  13099. æT macro
  13100. æD
  13101. #define gestaltGXVersion             'qdgx'
  13102.  
  13103. æKY gxPrinter
  13104.     gxJob
  13105.     gxFormat
  13106.     gxPaperType
  13107.     gxPrintFile
  13108.     gxPrivatePrinterRecord
  13109.     gxPrivateJobRecord
  13110.     gxPrivateFormatRecord
  13111.     gxPrivatePaperTypeRecord
  13112.     gxPrivatePrintFileRecord
  13113. æFc PrintingManager.h
  13114. æT structure
  13115. æD
  13116. typedef struct gxPrivatePrinterRecord *gxPrinter;
  13117. typedef struct    gxPrivateJobRecord *gxJob;
  13118. typedef struct gxPrivateFormatRecord *gxFormat;
  13119. typedef struct gxPrivatePaperTypeRecord *gxPaperType;
  13120. typedef struct gxPrivatePrintFileRecord *gxPrintFile;
  13121.  
  13122. æKY gxStopLooping
  13123.     gxKeepLooping
  13124.     gxLoopStatus
  13125. æFc PrintingManager.h
  13126. æT constant
  13127. æD
  13128. enum {                        // possible values for LoopStatus
  13129.     gxStopLooping = false,
  13130.     gxKeepLooping = true
  13131. };
  13132.  
  13133. typedef Boolean gxLoopStatus;
  13134.  
  13135. æKY gxViewDeviceProc
  13136.     gxFormatProc
  13137.     gxPaperTypeProc
  13138.     gxPrintingFlattenProc
  13139. æFc PrintingManager.h
  13140. æT structure
  13141. æD
  13142. typedef pascal gxLoopStatus (*gxViewDeviceProc) (gxViewDevice, void *refCon);
  13143. typedef pascal gxLoopStatus (*gxFormatProc) (gxFormat, void *refCon);
  13144. typedef pascal gxLoopStatus (*gxPaperTypeProc) (gxPaperType, void *refCon);
  13145. typedef pascal OSErr (*gxPrintingFlattenProc) (long size, void *data, void *refCon);
  13146.  
  13147. æKY gxCollectionCategory
  13148.     gxNoCollectionCategory
  13149.     gxOutputDriverCategory
  13150.     gxFormattingDriverCategory
  13151.     gxDriverVolatileCategory
  13152.     gxVolatileOutputDriverCategory
  13153.     gxVolatileFormattingDriverCategory
  13154. æFc PrintingManager.h
  13155. æT structure
  13156. æD
  13157. The following constants are used to set collection item flags in printing collections.
  13158. The Printing Manager purges certain items whenever a driver switch occurs.
  13159. If the formatting driver changes, all items marked as gxVolatileFormattingDriverCategory
  13160. will be purged.  If the output driver changes, all items marked as
  13161. gxVolatileOutputDriverCategory will be purged.
  13162.  
  13163. Note that to prevent items from being flattened when GXFlattenJob is called, you should
  13164. unset the collectionPersistenceBit (defined in Collections.h), which is on by default.
  13165.  
  13166. typedef short gxCollectionCategory;    // stored in collection items' user attribute bits
  13167.  
  13168. enum {
  13169.     gxNoCollectionCategory            = (gxCollectionCategory) 0x0000,
  13170.     gxOutputDriverCategory            = (gxCollectionCategory) 0x0001,
  13171.     gxFormattingDriverCategory        = (gxCollectionCategory) 0x0002,
  13172.     gxDriverVolatileCategory        = (gxCollectionCategory) 0x0004,
  13173.     
  13174.     gxVolatileOutputDriverCategory = gxOutputDriverCategory + gxDriverVolatileCategory,
  13175.     gxVolatileFormattingDriverCategory = gxFormattingDriverCategory + gxDriverVolatileCategory
  13176. };
  13177.  
  13178. æKY gxJobTag
  13179.     job
  13180.     'job '
  13181.     gxPrintJobUrgent
  13182.     gxPrintJobAtTime
  13183.     gxPrintJobASAP
  13184.     gxPrintJobHoldingBit
  13185.     gxPrintJobHolding
  13186.     gxPrintJobHoldingAtTime
  13187.     gxPrintJobHoldingUrgent
  13188.     gxNoPrintTimeAlert
  13189.     gxAlertBefore
  13190.     gxAlertAfter
  13191.     gxAlertBothTimes
  13192.     gxThirtySeconds
  13193.     gxTwoMinutes
  13194.     gxJobInfo
  13195. æFc PrintingManager.h
  13196. æT structure
  13197. æD
  13198. enum { gxJobTag = 'job ' };
  13199.  
  13200.     enum {                                         // priorities for jobs
  13201.         gxPrintJobUrgent    = 0x00000001,
  13202.         gxPrintJobAtTime    = 0x00000002, 
  13203.         gxPrintJobASAP        = 0x00000003
  13204.     };
  13205.     
  13206.     enum { gxPrintJobHoldingBit = 0x00001000 };    // reserved bit in the priority field means the job is on hold
  13207.     
  13208.     enum {
  13209.         gxPrintJobHolding        = (gxPrintJobHoldingBit + gxPrintJobASAP),
  13210.         gxPrintJobHoldingAtTime    = (gxPrintJobHoldingBit + gxPrintJobAtTime),
  13211.         gxPrintJobHoldingUrgent    = (gxPrintJobHoldingBit + gxPrintJobUrgent)
  13212.     };
  13213.     
  13214.     enum {                                        // ===== Job Alert User constants (jobAlert field) =====
  13215.         gxNoPrintTimeAlert        =    0,            // don't alert user when we print
  13216.         gxAlertBefore            =    1,            // alert user before we print
  13217.         gxAlertAfter            =    2,            // alert user after we print
  13218.         gxAlertBothTimes        =    3            // alert before and after we print
  13219.     };
  13220.         
  13221.     enum {                                        // ===== Job Timeout constants (jobTimeout field) =====
  13222.         gxThirtySeconds            =    1800,        // 30 seconds in ticks
  13223.         gxTwoMinutes            =    7200        // 2 minutes in ticks
  13224.     };    
  13225.  
  13226.     struct gxJobInfo{
  13227.         long    numPages;
  13228.         long    priority;
  13229.         long    timeToPrint;
  13230.         long    jobTimeout;                        // in ticks
  13231.         long    firstPageToPrint;                // start printing from this page
  13232.         short    jobAlert;
  13233.         Str31    appName;
  13234.         Str31    documentName;
  13235.         Str31    userName;
  13236.     };
  13237.  
  13238. æKY gxCollationTag
  13239.     sort
  13240.     'sort'
  13241.     gxCollationInfo
  13242. æFc PrintingManager.h
  13243. æT structure
  13244. æD
  13245. enum { gxCollationTag = 'sort' };
  13246.  
  13247.     struct gxCollationInfo{
  13248.         Boolean collation;            // true if copies are to be collated
  13249.     };
  13250.  
  13251. æKY gxCopiesTag
  13252.     copy
  13253.     'copy'
  13254.     gxCopiesInfo
  13255. æFc PrintingManager.h
  13256. æT structure
  13257. æD
  13258. enum { gxCopiesTag = 'copy' };
  13259.  
  13260.     struct gxCopiesInfo{
  13261.         long copies;                // number of copies of document to print
  13262.     };
  13263.  
  13264. æKY gxPageRangeTag
  13265.     rang
  13266.     'rang'
  13267.     gxDefaultPageRange
  13268.     gxReplacePageRange
  13269.     gxCustomizePageRange
  13270.     gxSimplePageRangeInfo
  13271.     gxPageRangeInfo
  13272.     
  13273. æFc PrintingManager.h
  13274. æT structure
  13275. æD
  13276. enum { gxPageRangeTag = 'rang' };
  13277.  
  13278.     enum {                                            // for optionChosen field in SimplePageRangeInfo
  13279.         gxDefaultPageRange        = (char) 0,
  13280.         gxReplacePageRange        = (char) 1,
  13281.         gxCustomizePageRange    = (char) 2
  13282.     };
  13283.  
  13284.     struct gxSimplePageRangeInfo{
  13285.         char                    optionChosen;        // from options listed above
  13286.         Boolean                    printAll;            // true if user wants to print all pages
  13287.         long                    fromPage;            // for gxDefaultPageRange, current value
  13288.         long                    toPage;                // for gxDefaultPageRange, current value
  13289.     };
  13290.  
  13291.     struct gxPageRangeInfo{
  13292.         gxSimplePageRangeInfo    simpleRange;        // info which will be returned for GetJobPageRange        
  13293.         Str31                    fromString;            // for gxCustomizePageRange, current value
  13294.         Str31                    toString;            // for gxCustomizePageRange, current value
  13295.         long                    minFromPage;        // for gxDefaultPageRange, we parse with this, ignored if nil
  13296.         long                    maxToPage;            // for gxDefaultPageRange, we parse with this, ignored if nil
  13297.         char                    replaceString[1];    // for gxReplacePageRange, string to display
  13298.     };
  13299.  
  13300. æKY gxQualityTag
  13301.     qual
  13302.     'qual'
  13303.     gxQualityInfo
  13304. æFc PrintingManager.h
  13305. æT structure
  13306. æD
  13307. enum { gxQualityTag = 'qual' };
  13308.  
  13309.     struct gxQualityInfo{
  13310.         Boolean        disableQuality;            // true to disable standard quality controls
  13311.         short        defaultQuality;
  13312.         short        currentQuality;
  13313.         short        qualityCount;            // number of quality menu items in popup menu
  13314.         char        qualityNames[1];        // array of packed pascal strings for popup menu titles
  13315.     };
  13316.  
  13317. æKY gxFileDestinationTag
  13318.     dest
  13319.     'dest'
  13320.     gxFileDestinationInfo
  13321.     gxFileLocationTag
  13322.     floc
  13323.     'floc'
  13324.     gxFileLocationInfo
  13325.     gxFileFormatTag
  13326.     ffmt
  13327.     'ffmt'
  13328.     gxFileFormatInfo
  13329.     gxFileFontsTag
  13330.     incf
  13331.     'incf'
  13332.     gxIncludeNoFonts
  13333.     gxIncludeAllFonts
  13334.     gxIncludeNonStandardFonts
  13335.     gxFileFontsInfo
  13336. æFc PrintingManager.h
  13337. æT structure
  13338. æD
  13339. enum { gxFileDestinationTag = 'dest' };
  13340.  
  13341.     struct gxFileDestinationInfo{
  13342.         Boolean toFile;                            // true if destination is a file
  13343.     };
  13344.  
  13345. enum { gxFileLocationTag = 'floc' };
  13346.  
  13347.     struct gxFileLocationInfo{
  13348.         FSSpec fileSpec;                        // location to put file, if destination is file
  13349.     };
  13350.  
  13351. enum { gxFileFormatTag = 'ffmt' };
  13352.  
  13353.     struct gxFileFormatInfo{
  13354.         Str31 fileFormatName;                    // name of file format if destination is file
  13355.     };
  13356.  
  13357. enum { gxFileFontsTag = 'incf' };
  13358.  
  13359.     enum {                                         // font include level
  13360.         gxIncludeNoFonts    = (char) 1,
  13361.         gxIncludeAllFonts    = (char) 2, 
  13362.         gxIncludeNonStandardFonts = (char) 3
  13363.     };
  13364.  
  13365.     struct gxFileFontsInfo{
  13366.         char includeFonts;                        // including fonts, if destination is file
  13367.     };
  13368.  
  13369. æKY gxPaperFeedTag
  13370.     feed
  13371.     'feed'
  13372.     gxPaperFeedInfo
  13373. æFc PrintingManager.h
  13374. æT structure
  13375. æD
  13376. enum { gxPaperFeedTag = 'feed' };
  13377.  
  13378.     struct gxPaperFeedInfo{
  13379.         Boolean    autoFeed;                    // true if automatic feed, false if manual
  13380.     };
  13381.  
  13382. æKY gxTrayIndex
  13383.     gxTrayFeedTag
  13384.     gxTrayFeedInfo
  13385. æFc PrintingManager.h
  13386. æT structure
  13387. æD
  13388. typedef long gxTrayIndex;                    // type of tray index reference
  13389.  
  13390. enum { gxTrayFeedTag = 'tray' };            // public Printing Manager tray setting
  13391.  
  13392.     struct gxTrayFeedInfo{
  13393.         gxTrayIndex    feedTrayIndex;            // tray to feed paper from
  13394.         Boolean        manualFeedThisPage;        // signals manual feeding for the page
  13395.     };
  13396.  
  13397. æKY gxManualFeedTag
  13398.     manf
  13399.     'manf'
  13400.     gxManualFeedInfo
  13401. æFc PrintingManager.h
  13402. æT structure
  13403. æD
  13404. enum { gxManualFeedTag = 'manf' };
  13405.  
  13406.     struct gxManualFeedInfo{
  13407.         long    numPaperTypeNames;            // number of paperTypes to manually feed
  13408.         Str31    paperTypeNames[1];            // array of names of paperTypes to manually feed
  13409.     };
  13410.  
  13411. æKY gxNormalMappingTag
  13412.     nmap
  13413.     'nmap'
  13414.     gxNormalMappingInfo
  13415. æFc PrintingManager.h
  13416. æT structure
  13417. æD
  13418. enum { gxNormalMappingTag = 'nmap' };
  13419.  
  13420.     struct gxNormalMappingInfo{
  13421.         Boolean normalPaperMapping;        // true if not overriding normal paper mapping
  13422.     };
  13423.  
  13424. æKY gxSpecialMappingTag
  13425.     smap
  13426.     'smap'
  13427.     gxRedirectPages
  13428.     gxScalePages
  13429.     gxTilePages
  13430.     gxSpecialMappingInfo
  13431. æFc PrintingManager.h
  13432. æT structure
  13433. æD
  13434. enum { gxSpecialMappingTag = 'smap' };
  13435.  
  13436.     enum {                                        // for paperMapping field in SpecialMappingInfo
  13437.         gxRedirectPages            = (char) 1,
  13438.         gxScalePages            = (char) 2,
  13439.         gxTilePages                = (char) 3
  13440.     };
  13441.  
  13442.     struct gxSpecialMappingInfo{
  13443.         char specialMapping;                    // enumerated redirect, scale or tile setting
  13444.     };
  13445.  
  13446. æKY gxTrayMappingTag
  13447.     tmap
  13448.     'tmap'
  13449.     gxTrayMappingInfo
  13450. æFc PrintingManager.h
  13451. æT structure
  13452. æD
  13453. enum { gxTrayMappingTag = 'tmap' };
  13454.  
  13455.     struct gxTrayMappingInfo{
  13456.         gxTrayIndex mapPaperToTray;            // tray to map all paper to
  13457.     };
  13458.  
  13459. æKY gxPaperMappingTag
  13460.     pmap
  13461.     'pmap'
  13462. æFc PrintingManager.h
  13463. æT constant
  13464. æD
  13465. enum { gxPaperMappingTag = 'pmap' };
  13466.  
  13467. æC
  13468.  
  13469. This collection item contains a flattened paper type resource.
  13470.  
  13471. æKY gxPrintPanelTag
  13472.     ppan
  13473.     'ppan'
  13474.     gxPrintPanelInfo
  13475. æFc PrintingManager.h
  13476. æT structure
  13477. æD
  13478. enum { gxPrintPanelTag = 'ppan' };
  13479.  
  13480.     struct gxPrintPanelInfo{
  13481.         Str31 startPanelName;                // name of starting panel in job print dialog
  13482.     };
  13483.  
  13484. æKY gxFormatPanelTag
  13485.     fpan
  13486.     'fpan'
  13487.     gxFormatPanelInfo
  13488. æFc PrintingManager.h
  13489. æT structure
  13490. æD
  13491. enum { gxFormatPanelTag = 'fpan' };
  13492.  
  13493.     struct gxFormatPanelInfo{
  13494.         Str31 startPanelName;                // name of starting panel in format dialog
  13495.     };
  13496.  
  13497. æKY gxTranslatedDocumentTag
  13498.     trns
  13499.     'trns'
  13500.     gxTranslatedDocumentInfo
  13501. æFc PrintingManager.h
  13502. æT structure
  13503. æD
  13504. enum { gxTranslatedDocumentTag = 'trns' };
  13505.  
  13506.     struct gxTranslatedDocumentInfo {
  13507.         long translatorInfo;                // information from the translation process
  13508.     };
  13509.  
  13510. æKY gxPaperTypeLockTag
  13511.     ptlk
  13512.     'ptlk'
  13513.     gxPaperTypeLockInfo
  13514. æFc PrintingManager.h
  13515. æT structure
  13516. æD
  13517. enum { gxPaperTypeLockTag = 'ptlk' };        // paperType lock tag
  13518.  
  13519.     struct gxPaperTypeLockInfo{
  13520.         Boolean paperTypeLocked;            // true if format's paperType is locked
  13521.     };
  13522.  
  13523. æKY gxOrientationTag
  13524.     layo
  13525.     'layo'
  13526.     gxPortraitLayout
  13527.     gxLandscapeLayout
  13528.     gxRotatedPortraitLayout
  13529.     gxRotatedLandscapeLayout
  13530.     gxOrientationInfo
  13531. æFc PrintingManager.h
  13532. æT structure
  13533. æD
  13534. enum { gxOrientationTag = 'layo' };
  13535.  
  13536.     enum {                                        // for orientation field in orientationTag
  13537.         gxPortraitLayout                 = (char) 0,
  13538.         gxLandscapeLayout             = (char) 1,
  13539.         gxRotatedPortraitLayout     = (char) 2,
  13540.         gxRotatedLandscapeLayout     = (char) 3
  13541.     };
  13542.     
  13543.     struct gxOrientationInfo{
  13544.         char orientation;                        // an enumerated orientation value
  13545.     };
  13546.  
  13547. æKY gxScalingTag
  13548.     scal
  13549.     'scal'
  13550.     gxScalingInfo
  13551. æFc PrintingManager.h
  13552. æT structure
  13553. æD
  13554. enum { gxScalingTag = 'scal' };
  13555.  
  13556.     struct gxScalingInfo{
  13557.         Fixed horizontalScaleFactor;        // current horizontal scaling factor
  13558.         Fixed verticalScaleFactor;            // current vertical scaling factor
  13559.         short minScaling;                        // minimum current scaling
  13560.         short maxScaling;                        // maximum current scaling
  13561.     };
  13562.  
  13563. æKY gxDirectModeTag
  13564.     dirm
  13565.     'dirm'
  13566.     gxDirectModeInfo
  13567. æFc PrintingManager.h
  13568. æT structure
  13569. æD
  13570. enum { gxDirectModeTag = 'dirm' };
  13571.  
  13572.     struct gxDirectModeInfo{
  13573.         Boolean directModeOn;                // true if direct mode is enabled
  13574.     };
  13575.  
  13576. æKY gxFormatHalftoneTag
  13577.     half
  13578.     'half'
  13579.     gxFormatHalftoneInfo
  13580. æFc PrintingManager.h
  13581. æT structure
  13582. æD
  13583. enum { gxFormatHalftoneTag = 'half' };
  13584.  
  13585.     struct gxFormatHalftoneInfo{
  13586.         long numHalftones;                    // how many halftones
  13587.         gxHalftone    halftones[1];             // any number of halftones
  13588.     };
  13589.  
  13590. æKY gxInvertPageTag
  13591.     invp
  13592.     'invp'
  13593.     gxInvertPageInfo
  13594. æFc PrintingManager.h
  13595. æT structure
  13596. æD
  13597. enum { gxInvertPageTag = 'invp' };
  13598.  
  13599.     struct    gxInvertPageInfo{
  13600.         Boolean        invert;        // true -> invert the page
  13601.     };                            // missing | false -> don't invert the page
  13602.  
  13603. æC
  13604.  
  13605. Only used (by default) with PostScript QuickDraw GX drivers.
  13606.  
  13607. æKY gxFlipPageHorizontalTag
  13608.     flph
  13609.     'flph'
  13610.     gxFlipPageHorizontalInfo
  13611. æFc PrintingManager.h
  13612. æT structure
  13613. æD
  13614. enum { gxFlipPageHorizontalTag = 'flph' };
  13615.  
  13616.     struct    gxFlipPageHorizontalInfo{
  13617.         Boolean        flipHorizontal;        // true -> flip x coordinates on the page
  13618.     };                                    // missing | false -> don't flip horizontally
  13619.  
  13620. æC
  13621.  
  13622. Only used (by default) with PostScript QuickDraw GX drivers.
  13623.  
  13624. æKY gxFlipPageVerticalTag
  13625.     flpv
  13626.     'flpv'
  13627.     gxFlipPageVerticalInfo
  13628. æFc PrintingManager.h
  13629. æT structure
  13630. æD
  13631. enum { gxFlipPageVerticalTag = 'flpv' };
  13632.  
  13633.     struct    gxFlipPageVerticalInfo{
  13634.         Boolean        flipVertical;        // true -> flip y coordinates on the page
  13635.     };                                    // missing | false -> don't flip vertically
  13636.  
  13637. æC
  13638.  
  13639. Only used (by default) with PostScript QuickDraw GX drivers.
  13640.  
  13641. æKY gxPreciseBitmapsTag
  13642.     pbmp
  13643.     'pbmp'
  13644.     gxPreciseBitmapInfo
  13645. æFc PrintingManager.h
  13646. æT structure
  13647. æD
  13648. enum { gxPreciseBitmapsTag = 'pbmp' };
  13649.     
  13650.     struct gxPreciseBitmapInfo{
  13651.         Boolean        preciseBitmaps;        // true -> scale the page by 96%
  13652.     };                                    // missing | false -> don't scale the page by 96%
  13653.  
  13654. æC
  13655.  
  13656. Only used (by default) with PostScript QuickDraw GX drivers.
  13657.  
  13658. æKY gxBaseTag
  13659.     base
  13660.     'base'
  13661.     gxUnknownBase
  13662.     gxUSLetterBase
  13663.     gxUSLegalBase
  13664.     gxA4LetterBase
  13665.     gxB5LetterBase
  13666.     gxTabloidBase
  13667.     gxBaseInfo
  13668. æFc PrintingManager.h
  13669. æT structure
  13670. æD
  13671. enum { gxBaseTag = 'base' };
  13672.  
  13673.     enum {                                // for baseType field in baseTag
  13674.         gxUnknownBase        =    0,        // base paper type from which this paper type is
  13675.         gxUSLetterBase        =    1,        // derived.  This is not a complete set.
  13676.         gxUSLegalBase        =    2,
  13677.         gxA4LetterBase        =    3,
  13678.         gxB5LetterBase        =    4,
  13679.         gxTabloidBase        =    5
  13680.     };
  13681.     
  13682.     struct gxBaseInfo{
  13683.         long baseType;                    // paperType's base type
  13684.     };
  13685.  
  13686. æKY gxCreatorTag
  13687.     crea
  13688.     'crea'
  13689.     gxSysPaperType
  13690.     gxUserPaperType
  13691.     gxCreatorInfo
  13692. æFc PrintingManager.h
  13693. æT structure
  13694. æD
  13695. enum { gxCreatorTag = 'crea' };
  13696.  
  13697.     enum {                                // for creator field in creatorTag
  13698.         gxSysPaperType        =    'sypt',    // system paper type creator
  13699.         gxUserPaperType        =    'uspt'    // user paper type creator
  13700.                                         // if driver paperTypes then = driver's creator type
  13701.     };
  13702.     
  13703.     struct gxCreatorInfo{
  13704.         OSType creator;                    // paperType's creator
  13705.     };
  13706.  
  13707. æKY gxUnitsTag
  13708.     unit
  13709.     'unit'
  13710.     gxPicas
  13711.     gxMMs
  13712.     gxInches
  13713.     gxUnitsInfo
  13714. æFc PrintingManager.h
  13715. æT structure
  13716. æD
  13717. enum { gxUnitsTag = 'unit' };
  13718.  
  13719.     enum {                                // for units field in unitsTag
  13720.         gxPicas            =    (char) 0,    // pica measurement
  13721.         gxMMs            =    (char) 1,    // millimeter measurement
  13722.         gxInches        =    (char) 2    // inches measurement
  13723.     };
  13724.     
  13725.     struct gxUnitsInfo{
  13726.         char units;                        // paperType's units
  13727.     };
  13728.     
  13729.     typedef struct gxUnitsInfo gxUnitsInfo;
  13730.  
  13731. æKY gxFlagsTag
  13732.     flag
  13733.     'flag'
  13734.     gxOldPaperTypeFlag
  13735.     gxNewPaperTypeFlag
  13736.     gxOldAndNewPaperTypeFlag
  13737.     gxDefaultPaperTypeFlag
  13738.     gxFlagsInfo
  13739. æFc PrintingManager.h
  13740. æT structure
  13741. æD
  13742. enum { gxFlagsTag = 'flag' };
  13743.  
  13744.     enum {                                                // paper type flags (bit positions)
  13745.         gxOldPaperTypeFlag                =    0x00800000,    // indicates a paper type with 7.0 settings
  13746.         gxNewPaperTypeFlag                =    0x00400000,    // indicates a paper type with post 7.0 settings
  13747.         gxOldAndNewPaperTypeFlag        =    0x00C00000,    // indicates a paper type that's both old and new
  13748.         gxDefaultPaperTypeFlag            =    0x00100000    //    indicates the default paper type in the group    
  13749.     };
  13750.     
  13751.     struct gxFlagsInfo{
  13752.         long flags;            // paperType's flags
  13753.     };
  13754.  
  13755. æKY gxCommentTag
  13756.     cmnt
  13757.     'cmnt'
  13758.     gxCommentInfo
  13759. æFc PrintingManager.h
  13760. æT structure
  13761. æD
  13762. enum { gxCommentTag = 'cmnt' };
  13763.  
  13764.     struct gxCommentInfo{
  13765.         Str255 comment;        // paperType's comment
  13766.     };
  13767.  
  13768. æKY gxPenTableTag
  13769.     pent
  13770.     'pent'
  13771.     gxDeviceUnits
  13772.     gxMMUnits
  13773.     gxInchesUnits
  13774.     gxPenNotLoaded
  13775.     gxPenTableEntry
  13776.     gxPenTable
  13777.     gxPenTablePtr
  13778.     gxPenTableHdl
  13779. æFc PrintingManager.h
  13780. æT structure
  13781. æD
  13782. enum { gxPenTableTag = 'pent' };
  13783.  
  13784.     enum {                    // possible values for the flags field in the PenTableEntry structure
  13785.         gxDeviceUnits = 0,
  13786.         gxMMUnits = 1,
  13787.         gxInchesUnits = 2
  13788.     };
  13789.     
  13790.     enum {    
  13791.           gxPenNotLoaded = -1
  13792.     };
  13793.     
  13794.     struct gxPenTableEntry{ 
  13795.         Str31      penName;            // name of the pen
  13796.         gxColor    penColor;        // color that is part of the color set
  13797.         Fixed      penThickness;    // size of the pen
  13798.         short      penUnits;        // specifies units in which pen thickness is defined
  13799.         short      penPosition;        // pen position in the carousel, -1 (kPenNotLoaded) if not loaded
  13800.     };
  13801.          
  13802.     struct gxPenTable{
  13803.         long                numPens;    // number of pen entries in the following array
  13804.         gxPenTableEntry    pens[1];    // array of pen entries
  13805.     };
  13806.     
  13807.     typedef struct gxPenTable gxPenTable, *gxPenTablePtr, **gxPenTableHdl;
  13808.  
  13809. æKY gxDialogResult
  13810.     gxCancelSelected
  13811.     gxOKSelected
  13812.     gxRevertSelected
  13813. æFc PrintingManager.h
  13814. æT constant
  13815. æD
  13816. enum {
  13817.     gxCancelSelected        = (gxDialogResult) 0,
  13818.     gxOKSelected             = (gxDialogResult) 1,
  13819.     gxRevertSelected        = (gxDialogResult) 2
  13820. };
  13821.  
  13822. typedef long gxDialogResult;
  13823.  
  13824. æKY gxEditMenuRecord
  13825. æFc PrintingManager.h
  13826. æT structure
  13827. æD
  13828. struct gxEditMenuRecord{
  13829.     short    editMenuID;
  13830.     short    cutItem;
  13831.     short    copyItem;
  13832.     short    pasteItem;
  13833.     short    clearItem;
  13834.     short    undoItem;
  13835. };
  13836.  
  13837. æKY gxQueryType
  13838.     gxGetJobFormatLineConstraintQuery
  13839.     gxGetJobFormatFontsQuery
  13840.     gxGetJobFormatFontCommonStylesQuery
  13841.     gxGetJobFormatFontConstraintQuery
  13842.     gxSetStyleJobFormatCommonStyleQuery
  13843. æFc PrintingManager.h
  13844. æT constant
  13845. æD
  13846. enum {
  13847.     gxGetJobFormatLineConstraintQuery        = (gxQueryType)  0,
  13848.     gxGetJobFormatFontsQuery                = (gxQueryType)  1,
  13849.     gxGetJobFormatFontCommonStylesQuery        = (gxQueryType)  2,
  13850.     gxGetJobFormatFontConstraintQuery        = (gxQueryType)  3,
  13851.     gxSetStyleJobFormatCommonStyleQuery        = (gxQueryType)  4
  13852. };
  13853.  
  13854. typedef long gxQueryType;
  13855.  
  13856. æKY gxJobFormatMode
  13857.     gxGraphicsJobFormatMode
  13858.     gxTextJobFormatMode
  13859.     gxPostScriptJobFormatMode
  13860. æFc PrintingManager.h
  13861. æT constant
  13862. æD
  13863. enum {
  13864.     gxGraphicsJobFormatMode        = (gxJobFormatMode) 'grph',
  13865.     gxTextJobFormatMode            = (gxJobFormatMode) 'text',
  13866.     gxPostScriptJobFormatMode     = (gxJobFormatMode) 'post'
  13867. };
  13868.  
  13869. typedef OSType gxJobFormatMode;
  13870.  
  13871. æKY gxJobFormatModeTable
  13872.     gxJobFormatModeTablePtr
  13873.     gxJobFormatModeTableHdl
  13874. æFc PrintingManager.h
  13875. æT structure
  13876. æD
  13877. struct gxJobFormatModeTable{
  13878.     long                            numModes;
  13879.     gxJobFormatMode    modes[1];        // any number of modes
  13880. };
  13881.  
  13882. typedef struct gxJobFormatModeTable gxJobFormatModeTable, *gxJobFormatModeTablePtr, **gxJobFormatModeTableHdl;
  13883.  
  13884. æKY gxConstraintRange
  13885.     gxPositionConstraintTable
  13886.     gxPositionConstraintTablePtr
  13887.     gxPositionConstraintTableHdl
  13888.     gxStyleNameTable
  13889.     gxStyleNameTablePtr
  13890.     gxStyleNameTableHdl
  13891.     gxFontTable
  13892.     gxFontTablePtr
  13893.     gxFontTableHdl
  13894. æFc PrintingManager.h
  13895. æT structure
  13896. æD
  13897. enum { gxConstraintRange = -1 };        // in numSizes field of PositionConstraintTable to indicate a range in sizes array
  13898.  
  13899. struct gxPositionConstraintTable{        // for text mode    
  13900.     gxPoint        phase;
  13901.     gxPoint        offset;
  13902.     long        numSizes;
  13903.     Fixed        sizes[1];                // any number of sizes
  13904. };
  13905.  
  13906. typedef struct gxPositionConstraintTable gxPositionConstraintTable, *gxPositionConstraintTablePtr, **gxPositionConstraintTableHdl;
  13907.  
  13908. struct gxStyleNameTable{                // for text mode
  13909.     long        numStyleNames;            // number of style names
  13910.     Str255        styleNames[1];            // any number of style names
  13911. };
  13912.  
  13913. typedef struct gxStyleNameTable gxStyleNameTable, *gxStyleNameTablePtr, **gxStyleNameTableHdl;
  13914.  
  13915. struct gxFontTable{                        // for text mode
  13916.     long        numFonts;                // number of font references
  13917.     gxFont        fonts[1];                // any number of font references
  13918. };
  13919.  
  13920. typedef struct gxFontTable gxFontTable, *gxFontTablePtr, **gxFontTableHdl;
  13921.  
  13922. æKY GXPUBLICAPIGLUE
  13923. æFc PrintingManager.h
  13924. æT function
  13925. æD
  13926. #define GXPUBLICAPIGLUE(selector) {0x203C, 0x0000, selector, 0xABFE}
  13927.  
  13928. æKY GXInitPrinting
  13929. æFc PrintingManager.h
  13930. æT function
  13931. æD
  13932. pascal OSErr GXInitPrinting (void)
  13933.     = GXPUBLICAPIGLUE(0);
  13934.  
  13935. æKY GXExitPrinting
  13936. æFc PrintingManager.h
  13937. æT function
  13938. æD
  13939. pascal OSErr GXExitPrinting (void)
  13940.     = GXPUBLICAPIGLUE(1);
  13941.  
  13942. æKY GXNewJob
  13943. æFc PrintingManager.h
  13944. æT function
  13945. æD
  13946. pascal OSErr GXNewJob (gxJob *)
  13947.     = GXPUBLICAPIGLUE(2);
  13948.  
  13949. æKY GXDisposeJob
  13950. æFc PrintingManager.h
  13951. æT function
  13952. æD
  13953. pascal OSErr GXDisposeJob (gxJob)
  13954.     = GXPUBLICAPIGLUE(3);
  13955.  
  13956. æKY GXFlattenJob
  13957. æFc PrintingManager.h
  13958. æT function
  13959. æD
  13960. pascal void GXFlattenJob (gxJob, gxPrintingFlattenProc, void *)
  13961.     = GXPUBLICAPIGLUE(4);
  13962.  
  13963. æKY GXUnflattenJob
  13964. æFc PrintingManager.h
  13965. æT function
  13966. æD
  13967. pascal gxJob GXUnflattenJob (gxJob, gxPrintingFlattenProc, void *)
  13968.     = GXPUBLICAPIGLUE(5);
  13969.  
  13970. æKY GXFlattenJobToHdl
  13971. æFc PrintingManager.h
  13972. æT function
  13973. æD
  13974. pascal Handle GXFlattenJobToHdl (gxJob, Handle)
  13975.     = GXPUBLICAPIGLUE(6);
  13976.  
  13977. æKY GXUnflattenJobFromHdl
  13978. æFc PrintingManager.h
  13979. æT function
  13980. æD
  13981. pascal gxJob GXUnflattenJobFromHdl (gxJob, Handle)
  13982.     = GXPUBLICAPIGLUE(7);
  13983.  
  13984. æKY GXInstallApplicationOverride
  13985. æFc PrintingManager.h
  13986. æT function
  13987. æD
  13988. pascal void GXInstallApplicationOverride (gxJob, short messageID, void *override)
  13989.     = GXPUBLICAPIGLUE(8);
  13990.  
  13991. æKY GXNewFormat
  13992. æFc PrintingManager.h
  13993. æT function
  13994. æD
  13995. pascal gxFormat GXNewFormat (gxJob)
  13996.     = GXPUBLICAPIGLUE(9);
  13997.  
  13998. æKY GXDisposeFormat
  13999. æFc PrintingManager.h
  14000. æT function
  14001. æD
  14002. pascal void GXDisposeFormat (gxFormat)
  14003.     = GXPUBLICAPIGLUE(10);
  14004.  
  14005. æKY GXNewPaperType
  14006. æFc PrintingManager.h
  14007. æT function
  14008. æD
  14009. pascal gxPaperType GXNewPaperType (gxJob, Str31 name, gxRectangle *pageSize,
  14010.                                    gxRectangle *paperSize)
  14011.     = GXPUBLICAPIGLUE(11);
  14012.  
  14013. æKY GXDisposePaperType
  14014. æFc PrintingManager.h
  14015. æT function
  14016. æD
  14017. pascal void GXDisposePaperType (gxPaperType)
  14018.     = GXPUBLICAPIGLUE(12);
  14019.  
  14020. æKY GXGetNewPaperType
  14021. æFc PrintingManager.h
  14022. æT function
  14023. æD
  14024. pascal gxPaperType GXGetNewPaperType (gxJob, short resID)
  14025.     = GXPUBLICAPIGLUE(13);
  14026.  
  14027. æKY GXGetJobError
  14028. æFc PrintingManager.h
  14029. æT function
  14030. æD
  14031. pascal OSErr GXGetJobError (gxJob)
  14032.     = GXPUBLICAPIGLUE(14);
  14033.  
  14034. æKY GXSetJobError
  14035. æFc PrintingManager.h
  14036. æT function
  14037. æD
  14038. pascal void GXSetJobError (gxJob, OSErr)
  14039.     = GXPUBLICAPIGLUE(15);
  14040.  
  14041. æKY GXJobDefaultFormatDialog
  14042. æFc PrintingManager.h
  14043. æT function
  14044. æD
  14045. pascal gxDialogResult GXJobDefaultFormatDialog (gxJob, gxEditMenuRecord *)
  14046.    = GXPUBLICAPIGLUE(16);
  14047.  
  14048. æKY GXJobPrintDialog
  14049. æFc PrintingManager.h
  14050. æT function
  14051. æD
  14052. pascal gxDialogResult GXJobPrintDialog (gxJob, gxEditMenuRecord *)
  14053.    = GXPUBLICAPIGLUE(17);
  14054.  
  14055. æKY GXFormatDialog
  14056. æFc PrintingManager.h
  14057. æT function
  14058. æD
  14059. pascal gxDialogResult GXFormatDialog (gxFormat, gxEditMenuRecord *, StringPtr title)
  14060.     = GXPUBLICAPIGLUE(18);
  14061.  
  14062. æKY GXGetJobFormat
  14063. æFc PrintingManager.h
  14064. æT function
  14065. æD
  14066. pascal gxFormat GXGetJobFormat (gxJob, long whichFormat)
  14067.     = GXPUBLICAPIGLUE(19);
  14068.  
  14069. æKY GXGetFormatJob
  14070. æFc PrintingManager.h
  14071. æT function
  14072. æD
  14073. pascal gxJob GXGetFormatJob (gxFormat)
  14074.     = GXPUBLICAPIGLUE(20);
  14075.  
  14076. æKY GXGetFormatPaperType
  14077. æFc PrintingManager.h
  14078. æT function
  14079. æD
  14080. pascal gxPaperType GXGetFormatPaperType (gxFormat)
  14081.     = GXPUBLICAPIGLUE(21);
  14082.  
  14083. æKY GXGetFormatDimensions
  14084. æFc PrintingManager.h
  14085. æT function
  14086. æD
  14087. pascal void GXGetFormatDimensions (gxFormat, gxRectangle *pageSize, gxRectangle *paperSize)
  14088.     = GXPUBLICAPIGLUE(22);
  14089.  
  14090. æKY GXGetJobPageRange
  14091. æFc PrintingManager.h
  14092. æT function
  14093. æD
  14094. pascal void GXGetJobPageRange (gxJob theJob, long *firstPage, long *lastPage)
  14095.     = GXPUBLICAPIGLUE(23);
  14096.  
  14097. æKY GXStartJob
  14098. æFc PrintingManager.h
  14099. æT function
  14100. æD
  14101. pascal void GXStartJob (gxJob, StringPtr docName, long pageCount)
  14102.     = GXPUBLICAPIGLUE(24);
  14103.  
  14104. æKY GXPrintPage
  14105. æFc PrintingManager.h
  14106. æT function
  14107. æD
  14108. pascal void GXPrintPage (gxJob, long pageNumber, gxFormat, gxShape thePage)
  14109.    = GXPUBLICAPIGLUE(25);
  14110.  
  14111. æKY GXStartPage
  14112. æFc PrintingManager.h
  14113. æT function
  14114. æD
  14115. pascal Boolean GXStartPage (gxJob, long pageNumber, gxFormat, long numViewPorts, gxViewPort *viewPortList)
  14116.     = GXPUBLICAPIGLUE(26);
  14117.  
  14118. æKY GXFinishPage
  14119. æFc PrintingManager.h
  14120. æT function
  14121. æD
  14122. pascal void GXFinishPage (gxJob)
  14123.     = GXPUBLICAPIGLUE(27);
  14124.  
  14125. æKY GXFinishJob
  14126. æFc PrintingManager.h
  14127. æT function
  14128. æD
  14129. pascal void GXFinishJob (gxJob)
  14130.     = GXPUBLICAPIGLUE(28);
  14131.  
  14132. æKY GXGetJobCollection
  14133. æFc PrintingManager.h
  14134. æT function
  14135. æD
  14136. pascal Collection GXGetJobCollection (gxJob)
  14137.     = GXPUBLICAPIGLUE(29);
  14138.  
  14139. æKY GXGetJobRefCon
  14140. æFc PrintingManager.h
  14141. æT function
  14142. æD
  14143. pascal void *GXGetJobRefCon (gxJob)
  14144.     = GXPUBLICAPIGLUE(30);
  14145.  
  14146. æKY GXSetJobRefCon
  14147. æFc PrintingManager.h
  14148. æT function
  14149. æD
  14150. pascal void GXSetJobRefCon (gxJob, void *refCon)
  14151.     = GXPUBLICAPIGLUE(31);
  14152.  
  14153. æKY GXCopyJob
  14154. æFc PrintingManager.h
  14155. æT function
  14156. æD
  14157. pascal gxJob GXCopyJob (gxJob srcJob, gxJob dstJob)
  14158.     = GXPUBLICAPIGLUE(32);
  14159.  
  14160. æKY GXSelectJobFormattingPrinter
  14161. æFc PrintingManager.h
  14162. æT function
  14163. æD
  14164. pascal void GXSelectJobFormattingPrinter (gxJob, Str31 printerName)
  14165.     = GXPUBLICAPIGLUE(33);
  14166.  
  14167. æKY GXSelectJobOutputPrinter
  14168. æFc PrintingManager.h
  14169. æT function
  14170. æD
  14171. pascal void GXSelectJobOutputPrinter (gxJob, Str31 printerName)
  14172.     = GXPUBLICAPIGLUE(34);
  14173.  
  14174. æKY GXForEachJobFormatDo
  14175. æFc PrintingManager.h
  14176. æT function
  14177. æD
  14178. pascal void GXForEachJobFormatDo (gxJob, gxFormatProc, void *refCon)
  14179.     = GXPUBLICAPIGLUE(35);
  14180.  
  14181. æKY GXCountJobFormats
  14182. æFc PrintingManager.h
  14183. æT function
  14184. æD
  14185. pascal long GXCountJobFormats (gxJob)
  14186.     = GXPUBLICAPIGLUE(36);
  14187.  
  14188. æKY GXUpdateJob
  14189. æFc PrintingManager.h
  14190. æT function
  14191. æD
  14192. pascal Boolean GXUpdateJob (gxJob)
  14193.     = GXPUBLICAPIGLUE(37);
  14194.  
  14195. æKY GXConvertPrintRecord
  14196. æFc PrintingManager.h
  14197. æT function
  14198. æD
  14199. pascal void GXConvertPrintRecord (gxJob, THPrint)
  14200.     = GXPUBLICAPIGLUE(38);
  14201.  
  14202. æKY GXGetJobFormattingPrinter
  14203. æFc PrintingManager.h
  14204. æT function
  14205. æD
  14206. pascal gxPrinter GXGetJobFormattingPrinter (gxJob)
  14207.     = GXPUBLICAPIGLUE(39);
  14208.  
  14209. æKY GXGetJobOutputPrinter
  14210. æFc PrintingManager.h
  14211. æT function
  14212. æD
  14213. pascal gxPrinter GXGetJobOutputPrinter (gxJob)
  14214.     = GXPUBLICAPIGLUE(40);
  14215.  
  14216. æKY GXGetJobPrinter
  14217. æFc PrintingManager.h
  14218. æT function
  14219. æD
  14220. pascal gxPrinter GXGetJobPrinter (gxJob)
  14221.     = GXPUBLICAPIGLUE(41);
  14222.  
  14223. æKY GXGetPrinterJob
  14224. æFc PrintingManager.h
  14225. æT function
  14226. æD
  14227. pascal gxJob GXGetPrinterJob (gxPrinter)
  14228.     = GXPUBLICAPIGLUE(42);
  14229.  
  14230. æKY GXForEachPrinterViewDeviceDo
  14231. æFc PrintingManager.h
  14232. æT function
  14233. æD
  14234. pascal void GXForEachPrinterViewDeviceDo (gxPrinter, gxViewDeviceProc, void *refCon)
  14235.     = GXPUBLICAPIGLUE(43);
  14236.  
  14237. æKY GXCountPrinterViewDevices
  14238. æFc PrintingManager.h
  14239. æT function
  14240. æD
  14241. pascal long GXCountPrinterViewDevices (gxPrinter)
  14242.     = GXPUBLICAPIGLUE(44);
  14243.  
  14244. æKY GXGetPrinterViewDevice
  14245. æFc PrintingManager.h
  14246. æT function
  14247. æD
  14248. pascal gxViewDevice GXGetPrinterViewDevice (gxPrinter, long    whichViewDevice)
  14249.     = GXPUBLICAPIGLUE(45);
  14250.  
  14251. æKY GXSelectPrinterViewDevice
  14252. æFc PrintingManager.h
  14253. æT function
  14254. æD
  14255. pascal void GXSelectPrinterViewDevice (gxPrinter, long    whichViewDevice)
  14256.     = GXPUBLICAPIGLUE(46);
  14257.  
  14258. æKY GXGetPrinterName
  14259. æFc PrintingManager.h
  14260. æT function
  14261. æD
  14262. pascal void GXGetPrinterName (gxPrinter, Str31)
  14263.     = GXPUBLICAPIGLUE(47);
  14264.  
  14265. æKY GXGetPrinterType
  14266. æFc PrintingManager.h
  14267. æT function
  14268. æD
  14269. pascal OSType GXGetPrinterType (gxPrinter)
  14270.     = GXPUBLICAPIGLUE(48);
  14271.  
  14272. æKY GXGetPrinterDriverName
  14273. æFc PrintingManager.h
  14274. æT function
  14275. æD
  14276. pascal void GXGetPrinterDriverName (gxPrinter, Str31)
  14277.     = GXPUBLICAPIGLUE(49);
  14278.  
  14279. æKY GXGetPrinterDriverType
  14280. æFc PrintingManager.h
  14281. æT function
  14282. æD
  14283. pascal OSType GXGetPrinterDriverType (gxPrinter)
  14284.     = GXPUBLICAPIGLUE(50);
  14285.  
  14286. æKY GXGetFormatCollection
  14287. æFc PrintingManager.h
  14288. æT function
  14289. æD
  14290. pascal Collection GXGetFormatCollection (gxFormat)
  14291.     = GXPUBLICAPIGLUE(51);
  14292.  
  14293. æKY GXChangedFormat
  14294. æFc PrintingManager.h
  14295. æT function
  14296. æD
  14297. pascal void GXChangedFormat (gxFormat)
  14298.     = GXPUBLICAPIGLUE(52);
  14299.  
  14300. æKY GXCopyFormat
  14301. æFc PrintingManager.h
  14302. æT function
  14303. æD
  14304. pascal gxFormat GXCopyFormat (gxFormat srcFormat, gxFormat dstFormat)
  14305.     = GXPUBLICAPIGLUE(53);
  14306.  
  14307. æKY GXCloneFormat
  14308. æFc PrintingManager.h
  14309. æT function
  14310. æD
  14311. pascal gxFormat GXCloneFormat (gxFormat)
  14312.     = GXPUBLICAPIGLUE(54);
  14313.  
  14314. æKY GXCountFormatOwners
  14315. æFc PrintingManager.h
  14316. æT function
  14317. æD
  14318. pascal long GXCountFormatOwners (gxFormat)
  14319.     = GXPUBLICAPIGLUE(55);
  14320.  
  14321. æKY GXGetFormatMapping
  14322. æFc PrintingManager.h
  14323. æT function
  14324. æD
  14325. pascal void GXGetFormatMapping (gxFormat, gxMapping *)
  14326.     = GXPUBLICAPIGLUE(56);
  14327.  
  14328. æKY GXGetFormatForm
  14329. æFc PrintingManager.h
  14330. æT function
  14331. æD
  14332. pascal gxShape GXGetFormatForm (gxFormat, gxShape *mask)
  14333.     = GXPUBLICAPIGLUE(57);
  14334.  
  14335. æKY GXSetFormatForm
  14336. æFc PrintingManager.h
  14337. æT function
  14338. æD
  14339. pascal void GXSetFormatForm (gxFormat, gxShape form, gxShape mask)
  14340.     = GXPUBLICAPIGLUE(58);
  14341.  
  14342. æKY GXSetAvailableJobFormatModes
  14343. æFc PrintingManager.h
  14344. æT function
  14345. æD
  14346. pascal void GXSetAvailableJobFormatModes (gxJob, gxJobFormatModeTableHdl)
  14347.     = GXPUBLICAPIGLUE(59);
  14348.  
  14349. æKY GXGetPreferredJobFormatMode
  14350. æFc PrintingManager.h
  14351. æT function
  14352. æD
  14353. pascal gxJobFormatMode GXGetPreferredJobFormatMode (gxJob, Boolean *directOnly)
  14354.     = GXPUBLICAPIGLUE(60);
  14355.  
  14356. æKY GXGetJobFormatMode
  14357. æFc PrintingManager.h
  14358. æT function
  14359. æD
  14360. pascal gxJobFormatMode GXGetJobFormatMode (gxJob)
  14361.     = GXPUBLICAPIGLUE(61);
  14362.  
  14363. æKY GXSetJobFormatMode
  14364. æFc PrintingManager.h
  14365. æT function
  14366. æD
  14367. pascal void GXSetJobFormatMode (gxJob, gxJobFormatMode)
  14368.     = GXPUBLICAPIGLUE(62);
  14369.  
  14370. æKY GXJobFormatModeQuery
  14371. æFc PrintingManager.h
  14372. æT function
  14373. æD
  14374. pascal void GXJobFormatModeQuery (gxJob, gxQueryType, void *srcData, void *dstData)
  14375.     = GXPUBLICAPIGLUE(63);
  14376.  
  14377. æKY GXEnableJobScalingPanel
  14378. æFc PrintingManager.h
  14379. æT function
  14380. æD
  14381. pascal void GXEnableJobScalingPanel (gxJob, Boolean enabled)
  14382.     = GXPUBLICAPIGLUE(64);
  14383.  
  14384. æKY GXGetJobPanelDimensions
  14385. æFc PrintingManager.h
  14386. æT function
  14387. æD
  14388. pascal void GXGetJobPanelDimensions (gxJob, Rect *)
  14389.     = GXPUBLICAPIGLUE(65);
  14390.  
  14391. æKY GXCountJobPaperTypes
  14392. æFc PrintingManager.h
  14393. æT function
  14394. æD
  14395. pascal long GXCountJobPaperTypes (gxJob, Boolean forFormatDevice)
  14396.     = GXPUBLICAPIGLUE(66);
  14397.  
  14398. æKY GXGetJobPaperType
  14399. æFc PrintingManager.h
  14400. æT function
  14401. æD
  14402. pascal gxPaperType GXGetJobPaperType (gxJob, long whichPaperType, Boolean forFormatDevice, gxPaperType)
  14403.     = GXPUBLICAPIGLUE(67);
  14404.  
  14405. æKY GXForEachJobPaperTypeDo
  14406. æFc PrintingManager.h
  14407. æT function
  14408. æD
  14409. pascal void GXForEachJobPaperTypeDo (gxJob, gxPaperTypeProc, void *refCon, Boolean forFormattingPrinter)
  14410.     = GXPUBLICAPIGLUE(68);
  14411.  
  14412. æKY GXCopyPaperType
  14413. æFc PrintingManager.h
  14414. æT function
  14415. æD
  14416. pascal gxPaperType GXCopyPaperType (gxPaperType srcPaperType, gxPaperType dstPaperType)
  14417.     = GXPUBLICAPIGLUE(69);
  14418.  
  14419. æKY GXGetPaperTypeName
  14420. æFc PrintingManager.h
  14421. æT function
  14422. æD
  14423. pascal void GXGetPaperTypeName (gxPaperType, Str31)
  14424.     = GXPUBLICAPIGLUE(70);
  14425.  
  14426. æKY GXGetPaperTypeDimensions
  14427. æFc PrintingManager.h
  14428. æT function
  14429. æD
  14430. pascal void GXGetPaperTypeDimensions (gxPaperType, gxRectangle *pageSize, gxRectangle *paperSize)
  14431.     = GXPUBLICAPIGLUE(71);
  14432.  
  14433. æKY GXGetPaperTypeJob
  14434. æFc PrintingManager.h
  14435. æT function
  14436. æD
  14437. pascal gxJob GXGetPaperTypeJob (gxPaperType)
  14438.     = GXPUBLICAPIGLUE(72);
  14439.  
  14440. æKY GXGetPaperTypeCollection
  14441. æFc PrintingManager.h
  14442. æT function
  14443. æD
  14444. pascal Collection GXGetPaperTypeCollection (gxPaperType)
  14445.     = GXPUBLICAPIGLUE(73);
  14446.  
  14447. æKY GXOpenPrintFile
  14448. æFc PrintingManager.h
  14449. æT function
  14450. æD
  14451. pascal gxPrintFile GXOpenPrintFile (gxJob, FSSpecPtr, char permission)
  14452.     = GXPUBLICAPIGLUE(74);
  14453.  
  14454. æKY GXClosePrintFile
  14455. æFc PrintingManager.h
  14456. æT function
  14457. æD
  14458. pascal void GXClosePrintFile (gxPrintFile)
  14459.     = GXPUBLICAPIGLUE(75);
  14460.  
  14461. æKY GXGetPrintFileJob
  14462. æFc PrintingManager.h
  14463. æT function
  14464. æD
  14465. pascal gxJob GXGetPrintFileJob (gxPrintFile)
  14466.     = GXPUBLICAPIGLUE(76);
  14467.  
  14468. æKY GXCountPrintFilePages
  14469. æFc PrintingManager.h
  14470. æT function
  14471. æD
  14472. pascal long GXCountPrintFilePages (gxPrintFile)
  14473.     = GXPUBLICAPIGLUE(77);
  14474.  
  14475. æKY GXReadPrintFilePage
  14476. æFc PrintingManager.h
  14477. æT function
  14478. æD
  14479. pascal void GXReadPrintFilePage (gxPrintFile, long pageNumber, long numViewPorts, gxViewPort *viewPortList, gxFormat *, gxShape *)
  14480.     = GXPUBLICAPIGLUE(78);
  14481.  
  14482. æKY GXReplacePrintFilePage
  14483. æFc PrintingManager.h
  14484. æT function
  14485. æD
  14486. pascal void GXReplacePrintFilePage (gxPrintFile, long pageNumber, gxFormat, gxShape)
  14487.     = GXPUBLICAPIGLUE(79);
  14488.  
  14489. æKY GXInsertPrintFilePage
  14490. æFc PrintingManager.h
  14491. æT function
  14492. æD
  14493. pascal void GXInsertPrintFilePage (gxPrintFile, long atPageNumber, gxFormat, gxShape)
  14494.     = GXPUBLICAPIGLUE(80);
  14495.  
  14496. æKY GXDeletePrintFilePageRange
  14497. æFc PrintingManager.h
  14498. æT function
  14499. æD
  14500. pascal void GXDeletePrintFilePageRange (gxPrintFile, long fromPageNumber, long toPageNumber)
  14501.     = GXPUBLICAPIGLUE(81);
  14502.  
  14503. æKY GXSavePrintFile
  14504. æFc PrintingManager.h
  14505. æT function
  14506. æD
  14507. pascal void GXSavePrintFile (gxPrintFile, FSSpec *)
  14508.     = GXPUBLICAPIGLUE(82);
  14509.  
  14510. æKY GXFindPrinterProfile
  14511. æFc PrintingManager.h
  14512. æT function
  14513. æD
  14514. pascal long GXFindPrinterProfile (gxPrinter, void * searchData, long index, gxColorProfile * returnedProfile)
  14515.     = GXPUBLICAPIGLUE(83);
  14516.  
  14517. æKY GXFindFormatProfile
  14518. æFc PrintingManager.h
  14519. æT function
  14520. æD
  14521. pascal long GXFindFormatProfile (gxFormat, void * searchData, long index, gxColorProfile * returnedProfile)
  14522.     = GXPUBLICAPIGLUE(84);
  14523.  
  14524. æKY GXSetPrinterProfile
  14525. æFc PrintingManager.h
  14526. æT function
  14527. æD
  14528. pascal void GXSetPrinterProfile (gxPrinter, gxColorProfile oldProfile, gxColorProfile newProfile)
  14529.     = GXPUBLICAPIGLUE(85);
  14530.  
  14531. æKY GXSetFormatProfile
  14532. æFc PrintingManager.h
  14533. æT function
  14534. æD
  14535. pascal void GXSetFormatProfile (gxFormat, gxColorProfile oldProfile, gxColorProfile newProfile)
  14536.     = GXPUBLICAPIGLUE(86);
  14537.  
  14538. æKY GXIdleJob
  14539. æFc PrintingManager.h
  14540. æT function
  14541. æD
  14542. pascal void GXIdleJob (gxJob)
  14543.     = GXPUBLICAPIGLUE(87);
  14544.  
  14545. æKY cltn
  14546.     'cltn'
  14547.     gxCollectionType
  14548. æF PrintingResTypes.r
  14549. æT resource
  14550. æD
  14551. #define gxCollectionType    'cltn'
  14552.  
  14553. type gxCollectionType {
  14554.     longint = $$CountOf(ItemArray);
  14555.     array ItemArray
  14556.         {
  14557.         longint;    // tag
  14558.         longint;    // id
  14559.             boolean        itemUnlocked            =    false,    // defined attributes bits...
  14560.                         itemLocked                =    true;
  14561.             boolean        itemNonPersistent        =    false,
  14562.                         itemPersistent            =    true;
  14563.             unsigned bitstring[14] = 0;                        // reserved attributes bits...
  14564.             unsigned bitstring[16];                            // user attributes bits...
  14565.         wstring;
  14566.         align word;
  14567.     };
  14568. };
  14569.  
  14570. æKY over
  14571.     'over'
  14572.     gxOverrideType
  14573.     gxExtensionUniversalOverrideID
  14574.     gxExtensionImagingOverrideSelectorID
  14575.     gxDriverUniversalOverrideID
  14576.     gxDriverImagingOverrideID
  14577.     gxDriverCompatibilityOverrideID
  14578. æF PrintingResTypes.r
  14579. æT resource
  14580. æD
  14581. #define    gxOverrideType        'over'
  14582.  
  14583. #define    gxExtensionUniversalOverrideID            gxPrintingExtensionBaseID
  14584. #define gxExtensionImagingOverrideSelectorID    gxPrintingExtensionBaseID
  14585.  
  14586. #define    gxDriverUniversalOverrideID                (gxPrintingDriverBaseID)
  14587. #define    gxDriverImagingOverrideID                (gxPrintingDriverBaseID + 1)
  14588. #define    gxDriverCompatibilityOverrideID            (gxPrintingDriverBaseID + 2)
  14589.  
  14590. type gxOverrideType
  14591.     {
  14592.     integer = $$CountOf(OverrideArray);
  14593.     array OverrideArray {
  14594.         integer;                            // ID of message to override
  14595.         unsigned bitstring[4] = 0;
  14596.         unsigned bitstring[12];             // 'pext'/'pdvr' resource ID
  14597.         integer;                            // jump table offset
  14598.         longint = -1;
  14599.     };
  14600. };
  14601.  
  14602. æKY scop
  14603.     'scop'
  14604.     gxExtensionScopeType
  14605.     gxDriverScopeID
  14606.     gxPrinterScopeID
  14607.     gxPrinterExceptionScopeID
  14608. æF PrintingResTypes.r
  14609. æT resource
  14610. æD
  14611. #define    gxExtensionScopeType            'scop'
  14612.  
  14613. #define gxDriverScopeID                    gxPrintingExtensionBaseID
  14614. #define gxPrinterScopeID                gxPrintingExtensionBaseID + 1
  14615. #define gxPrinterExceptionScopeID        gxPrintingExtensionBaseID + 2
  14616.  
  14617. type gxExtensionScopeType {
  14618.     
  14619.     integer = $$CountOf(ScopeArray);
  14620.     
  14621.     array ScopeArray {
  14622.         longint;            //    scope OSType
  14623.     };
  14624. };
  14625.  
  14626. æKY gxExtensionLoadFirst
  14627.     gxExtensionLoadAnywhere
  14628.     gxExtensionLoadLast
  14629.     load
  14630.     'load'
  14631.     gxExtensionLoadType
  14632.     gxExtensionLoadID
  14633. æF PrintingResTypes.r
  14634. æT resource
  14635. æD
  14636. #define gxExtensionLoadFirst        0x00000100
  14637. #define gxExtensionLoadAnywhere        0x7FFFFFFF
  14638. #define gxExtensionLoadLast            0xFFFFFF00
  14639.  
  14640. #define    gxExtensionLoadType            'load'
  14641. #define gxExtensionLoadID            gxPrintingExtensionBaseID
  14642.  
  14643. type gxExtensionLoadType {
  14644.  
  14645.     longint;                //    load Priority
  14646. };
  14647.  
  14648. æKY eopt
  14649.     'eopt'
  14650.     gxExtensionOptimizationType
  14651. æF PrintingResTypes.r
  14652. æT resource
  14653. æD
  14654. #define    gxExtensionOptimizationType        'eopt'
  14655. #define gxExtensionOptimizationID        gxPrintingExtensionBaseID
  14656.  
  14657. type gxExtensionOptimizationType {
  14658.  
  14659.     boolean        gxExecuteDuringImaging            =    true,
  14660.                 gxDontExecuteDuringImaging        =    false;
  14661.     boolean        gxNeedDeviceStatus                =    true,
  14662.                 gxDontNeedDeviceStatus            =    false;
  14663.     boolean        gxChangePageAtGXDespoolPage        =    true,
  14664.                 gxDontChangePageAtGXDespoolPage    =    false;
  14665.     boolean        gxChangePageAtGXImagePage        =    true,
  14666.                 gxDontChangePageAtGXImagePage    =    false;
  14667.     boolean        gxChangePageAtGXRenderPage        =    true,
  14668.                 gxDontChangePageAtGXRenderPage    =    false;
  14669.     boolean        gxServerPresenceRequired        =    true,
  14670.                 gxNotServerPresenceRequired        =    false;
  14671.     boolean        gxClientPresenceRequired        =    true,
  14672.                 gxNotClientPresenceRequired        =    false;
  14673.     unsigned bitstring[25] = 0;                            // reserved flags
  14674. };
  14675.  
  14676. æKY isys
  14677.     'isys'
  14678.     gxImagingSystemSelectorType
  14679.     gxImagingSystemSelectorID
  14680. æF PrintingResTypes.r
  14681. æT resource
  14682. æD
  14683. #define    gxImagingSystemSelectorType            'isys'
  14684. #define gxImagingSystemSelectorID            (gxPrintingDriverBaseID)
  14685.  
  14686. type gxImagingSystemSelectorType
  14687.     {
  14688.     longint;        // type of imaging system to select
  14689. };
  14690.  
  14691. æC
  14692.  
  14693. The imaging system resource specifies which imaging system a printer
  14694. driver wishes to use.
  14695.  
  14696. æKY cust
  14697.     'cust'
  14698.     gxCustType
  14699.     gxCustID
  14700. æF PrintingResTypes.r
  14701. æT resource
  14702. æD
  14703. #define    gxCustType                     'cust'
  14704. #define    gxCustID                     -8192
  14705.  
  14706. type gxCustType
  14707.     {
  14708.     integer;                                         // horizontalResolution;
  14709.     integer;                                         // verticalResolution;
  14710.     integer     defaultUpDriver     = 0,
  14711.                 laserWriter         = 0,
  14712.                 laserWriterSC         = 1;            // upDriverType
  14713.  
  14714.     point;                                            // pattern stretch factor
  14715.     integer;                                        // translator settings
  14716.     };
  14717.  
  14718. æKY gxDiscreteResolution
  14719.     resl
  14720.     'resl'
  14721.     gxReslID
  14722.     gxReslType
  14723. æF PrintingResTypes.r
  14724. æT resource
  14725. æD
  14726. #define gxDiscreteResolution    0
  14727.  
  14728. #define    gxReslType                 'resl'
  14729. #define    gxReslID                  -8192
  14730.  
  14731. type gxReslType
  14732.     {
  14733.     integer    rangeType = 1;                                 // constant;
  14734.     integer;                                            //    xMinimumResolution
  14735.     integer;                                            //    xMaximumResolution
  14736.     
  14737.     integer;                                            //    yMinimumResolution
  14738.     integer;                                            //    yMaximumResolution
  14739.     
  14740.     integer = $$CountOf(ResolutionArray);
  14741.     array        ResolutionArray
  14742.         {
  14743.         integer;                                        // xResolution
  14744.         integer;                                        // yResolution
  14745.         };
  14746.     };
  14747.  
  14748. æKY PREC
  14749.     'PREC'
  14750.     gxPrintRecordType
  14751. æF PrintingResTypes.r
  14752. æT resource
  14753. æD
  14754. #define gxPrintRecordType        'PREC'
  14755.  
  14756. type gxPrintRecordType (3)
  14757.     {
  14758.     integer;                    /* count: number of paper types                */
  14759.     point;                        /* a paper type's bottom/left coordinate    */
  14760.     point;                        /* ...expressed in 120th of an inch            */
  14761.     point;                        /* There are always six of them                */
  14762.     point;
  14763.     point;
  14764.     point;
  14765.     pstring;                    /* The paper type name */
  14766.     pstring;                    /* The paper type name */
  14767.     pstring;                    /* The paper type name */
  14768.     pstring;                    /* The paper type name */
  14769.     pstring;                    /* The paper type name */
  14770.     pstring;                    /* The paper type name */
  14771.     };
  14772.  
  14773. æKY look
  14774.     'look'
  14775.     gxLookerType
  14776.     gxLookerID
  14777.     isAppleTalk
  14778.     iconCells
  14779.     isPrinterShare
  14780. æF PrintingResTypes.r
  14781. æT resource
  14782. æD
  14783. #define isAppleTalk            1        /* looker type is AppleTalk                        */
  14784. #define iconCells            2        /* looker wants large cells with icons in them    */
  14785. #define isPrinterShare        4        /* looker is for a PrinterShare connection        */
  14786.  
  14787. #define gxLookerType        'look'
  14788. #define gxLookerID            -4096
  14789.  
  14790. type gxLookerType (-4096) {
  14791.     integer;                        // looker to select by default
  14792.     integer = $$CountOf(LookerList);
  14793.     array LookerList {
  14794.         pstring[33];                    // name of looker - displayed to user in list
  14795.         align word;
  14796.         integer;                        // id of 'comm' resource for this looker;
  14797.         longint noFlags = 0;            // flags for this looker
  14798.         pstring[33];                    // NBP type, or default item name for non-AppleTalk
  14799.     };
  14800. };
  14801.  
  14802. æC
  14803.  
  14804. The looker resource is used by the Chooser PACK to determine what kind
  14805. of communications this driver supports. (In order to generate/handle the 
  14806. pop-up menu for "Connect via:".
  14807.  
  14808. The looker resource is also used by PrinterShare to determine the
  14809. AppleTalk NBP Type for servers created for a driver.
  14810.  
  14811. æKY pfil
  14812.     'pfil'
  14813.     gxDriverFileFormatType
  14814.     gxDriverFileFormatID
  14815. æF PrintingResTypes.r
  14816. æT resource
  14817. æD
  14818. #define gxDriverFileFormatType            'pfil'
  14819. #define gxDriverFileFormatID            (gxPrintingDriverBaseID)
  14820.  
  14821. type gxDriverFileFormatType {
  14822.     integer = $$Countof(fileFormatArray);
  14823.     array fileFormatArray {
  14824.         pstring;                /* what to show in menu - format name */
  14825.         };
  14826.     };
  14827.  
  14828. æC
  14829.  
  14830. This resource should be included in specific drivers that wish to supply driver
  14831. specific output file formats for the print to file option.  The pstrings will
  14832. be added to the standard file dialog popup menu when the user confirms the
  14833. print dialog after selecting 'Print to a file'.  The job contains a destination
  14834. record which is updated from this dialog.  The destination record specifies
  14835. whether output is to go to the printer or to disk.  If it is to go to disk
  14836. the format string in the record will designate the format of the file to create.
  14837. the format string will either be 'Print File' specifying a spool file or
  14838. a string the driver has provided through this resource.
  14839.  
  14840. æKY comm
  14841.     'comm'
  14842.     gxDeviceCommunicationsType
  14843. æF PrintingResTypes.r
  14844. æT resource
  14845. æD
  14846. #define gxDeviceCommunicationsType        'comm'
  14847.  
  14848. type gxDeviceCommunicationsType
  14849. {
  14850.     switch 
  14851.         {
  14852.         case Serial:
  14853.             key unsigned longint='SPTL';        /* Communications type identifier */
  14854.         
  14855.             integer                    baud300 = 380, baud600 = 189, baud1200 = 94, baud1800 = 62, /* Output baud rate */
  14856.                                     baud2400 = 46, baud3600 = 30, baud4800 = 22, baud7200 = 14, 
  14857.                                     baud9600 = 10, baud19200 = 4, baud38400 = 2, baud57600 = 0;
  14858.             integer                    noParity = 0, oddParity = 4096, evenParity = 12288;            /* Output parity */
  14859.             integer                    oneStop = 16384, oneFiveStop = -32768, twoStop = -16384;    /* Output stop bits */
  14860.             integer                    data5 = 0, data6 = 2048, data7 = 1024, data8 = 3072;        /* Output data bits */
  14861.             unsigned hex longint;                                                                /* Output handshaking high word */
  14862.             unsigned hex longint;                                                                /* Output handshaking low word */
  14863.             integer                    baud300 = 380, baud600 = 189, baud1200 = 94, baud1800 = 62, /* Input baud rate */
  14864.                                     baud2400 = 46, baud3600 = 30, baud4800 = 22, baud7200 = 14, 
  14865.                                     baud9600 = 10, baud19200 = 4, baud38400 = 2, baud57600 = 0;
  14866.             integer                    noParity = 0, oddParity = 4096, evenParity = 12288;            /* Input parity */
  14867.             integer                    oneStop = 16384, oneFiveStop = -32768, twoStop = -16384;    /* Input stop bits */
  14868.             integer                    data5 = 0, data6 = 2048, data7 = 1024, data8 = 3072;        /* Input data bits */
  14869.             unsigned hex longint;                                                                /* Input handshaking high word */
  14870.             unsigned hex longint;                                                                /* Input handshaking low word */
  14871.             integer;                                                                                            /* Serial input buffer size */
  14872.             pstring[63];                                                                                    /* Input port name */
  14873.             pstring[63];                                                                                    /* Output port name */
  14874.             
  14875.         case PAP:
  14876.             key unsigned longint='PPTL';        /* Communications type identifier */
  14877.             integer;                                    /* Flow quantum */
  14878.             string[99];                                    /* Compacted AppleTalk name of printer */
  14879.             fill byte;
  14880.             longint;                                    /* future use - must be nil */
  14881.             longint;                                    /* future use - must be nil */
  14882.             longint;                                    /* future use - must be nil */
  14883.             longint;                                    /* Most recent network address of the printer */
  14884.             
  14885.         case SCSI:
  14886.             key unsigned longint='sPTL';        /* Communications type identifier */
  14887.             longint;                                    /* future use - must be nil */
  14888.             integer;                                    /* SCSI I/O attributes applicable to data transfers*/
  14889.             longint;                                    /* future use - must be nil */
  14890.             integer;                                    /* SCSI bus number where device is located. 0 = motherboard */
  14891.             integer;                                    /* SCSI device number of device. */
  14892.             longint;                                    /* 0 => ignored; > 0 => break data transfer into chunks of this size */
  14893.                                                         /* (at SCSI TIB level) */
  14894.             longint;                                    /* future use - must be nil */
  14895.             integer;                                    /* deviceType to look for */
  14896.             integer;                                    /* minimum amount of data in the response */
  14897.             integer;                                    /* offset from start to look in the response data */
  14898.             pstring;                                    /* string to look for in the response data */
  14899.             
  14900.         case PrinterShare:
  14901.             key unsigned longint='ptsr';        /* Communications type identifier */
  14902.             string[99];                                    /* Compacted AppleTalk name of server */
  14903.             fill byte;
  14904.             longint;                                    /* Most recent network address of the printer */
  14905.  
  14906.         case NotConnected:
  14907.             key unsigned longint='nops';        /* Communications type identifier */
  14908.         };
  14909. };
  14910.  
  14911. æC
  14912.  
  14913. The communications method and private data used to connect to the printer.
  14914.  
  14915. æKY iobm
  14916.     'iobm'
  14917.     gxUniversalIOPrefsID
  14918.     gxUniversalIOPrefsType
  14919. æF PrintingResTypes.r
  14920. æT resource
  14921. æD
  14922. #define gxUniversalIOPrefsType                'iobm'
  14923. #define gxUniversalIOPrefsID                (gxPrintingDriverBaseID)
  14924.  
  14925. type gxUniversalIOPrefsType
  14926. {
  14927.     longint standardIO = 0x00000000, customIO = 0x00000001;
  14928.     
  14929.     longint;    // number of buffers to allocate, 0 = none
  14930.     longint;    // size of each buffer
  14931.     longint;    // number of IO requests that can be pending at any one time
  14932.     longint;    // open/close timeout in ticks
  14933.     longint;    // read/write timeout in ticks
  14934. };
  14935.  
  14936. æC
  14937.  
  14938. This resource controls the behavior of the standard buffering and IO
  14939. within the Printing Manager.  If the specific driver does not include
  14940. such a resource, the system defaults to 2 buffers of 1K each, and
  14941. timeout values of 10 seconds each.  The specific driver can prevent
  14942. the system from doing buffering or IO by specifying the correct
  14943. values within this resource.
  14944.  
  14945. æKY cpts
  14946.     'cpts'
  14947.     gxCaptureType
  14948.     gxCaptureStringID
  14949.     gxReleaseStringID
  14950.     gxUncapturedAppleTalkType
  14951.     gxCapturedAppleTalkType
  14952. æF PrintingResTypes.r
  14953. æT resource
  14954. æD
  14955. #define gxCaptureType                    'cpts'
  14956. #define gxCaptureStringID                (gxPrintingDriverBaseID)
  14957. #define gxReleaseStringID                (gxPrintingDriverBaseID + 1)
  14958. #define gxUncapturedAppleTalkType        (gxPrintingDriverBaseID + 2)
  14959. #define gxCapturedAppleTalkType            (gxPrintingDriverBaseID + 3)
  14960.  
  14961. type gxCaptureType {
  14962.         string;
  14963. };
  14964.  
  14965. æC
  14966.  
  14967. Resource type and IDs for default implementation of GXCaptureOutputDevice.
  14968. The default implementation of GXCaptureOutputDevice only handles PAP devices.
  14969.  
  14970. A driver may supply 3 capture strings which are used to capture PAP devices.
  14971.  
  14972. captureStringID - string used for capture/uncapture (no length byte)
  14973. uncapturedAppleTalkType - AppleTalk type used for uncaptured devices (w/ length byte)
  14974. capturedAppleTalkType - AppleTalk type used for captured devices (w/ length byte)
  14975.  
  14976. The default implementation performs string substitution on the capture string
  14977. prior to sending it to the device, and the following strings are defined:
  14978. PRINTERNAME    - name of the printer 
  14979. PRINTERTYPE    - type of the printer 
  14980. NAMELEN    - name length byte
  14981. TYPELEN - type length byte
  14982.  
  14983. æKY rdip
  14984.     'rdip'
  14985.     gxRasterPrefsID
  14986.     gxRasterPrefsType
  14987. æF PrintingResTypes.r
  14988. æT resource
  14989. æD
  14990. #define gxRasterPrefsType        'rdip'
  14991. #define gxRasterPrefsID            (gxPrintingDriverBaseID)
  14992.  
  14993. type gxRasterPrefsType
  14994. {
  14995.     longint     gxDefaultRaster = 0,                        // default options
  14996.                 gxDontResolveTransferModes       = 0x01,        // 0=Resolve, 1=Don't Resolve
  14997.                 gxRenderInReverse                  = 0x02,        // traverse image in reverse order
  14998.                 gxOnePlaneAtATime                = 0x04,        // render each plane separately
  14999.                 gxSendAllBands                    = 0x08;        // send even white bands
  15000.  
  15001.                                                             // both of these are fixed point numbers
  15002.     longint;                                                // horizontal resolution to image at
  15003.     longint;                                                // vertical resolution to image at
  15004.     
  15005.     integer;                                                // min band size
  15006.     integer;                                                 // max band size
  15007.     
  15008.     longint;                                                // RAM percentage
  15009.     longint;                                                // RAM slop
  15010.     
  15011.     integer;                                                // depth of imaging, in pixels per plane
  15012.     integer = $$CountOf(PlaneArray);
  15013.     array PlaneArray 
  15014.         {
  15015.         // plane flags
  15016.         longint gxDefaultOffscreen = 0,
  15017.                 gxDontSetHalftone = 1,
  15018.                 gxDotTypeIsDitherLevel = 2;
  15019.                     
  15020.         // HALFTONE STRUCTURE
  15021.         hex longint;                                        // fixed point angle
  15022.         hex longint;                                        // fixed point frequency
  15023.         
  15024.         longint gxRoundDot = 1, gxSpiralDot = 2,             // type of dither
  15025.             gxSquareDot = 3, gxLineDot = 4, gxEllipticDot = 5, 
  15026.             gxTriangleDot = 6, gxDispersedDot = 7;
  15027.         longint                                             // tintType
  15028.             gxLuminanceTint = 1, gxAverageTint = 2, gxMixtureTint = 3, 
  15029.             gxComponent1Tint = 4, gxComponent2Tint = 5, gxComponent3Tint = 6, gxComponent4Tint = 7;
  15030.         
  15031.         longint;                                            // dot color
  15032.         longint gxNoProfile = 0;                                            
  15033.         hex integer;
  15034.         hex integer;
  15035.         hex integer;
  15036.         hex integer;
  15037.         
  15038.         longint;                                            // background color
  15039.         longint gxNoProfile = 0;                                            
  15040.         hex integer;
  15041.         hex integer;
  15042.         hex integer;
  15043.         hex integer;
  15044.  
  15045.         longint;                                            // tintSpace
  15046.         
  15047.         // OTHER PLANE FLAGS
  15048.         longint;                                            // plane colorSpace, can be gxNoSpace
  15049.         longint gxNoSet = 0;                                // plane color set resource ID
  15050.         longint gxNoProfile = 0;                            // plane color profile resource ID
  15051.         };
  15052. };
  15053.  
  15054. æC
  15055.  
  15056. Resource type and ID for raster driver rendering preferences.
  15057.  
  15058. æKY gxSendAllColors
  15059.     gxInterlaceColor
  15060.     gxOverlayColor
  15061.     rpck
  15062.     'rpck'
  15063.     gxRasterPackType
  15064.     gxRasterPackID
  15065. æF PrintingResTypes.r
  15066. æT resource
  15067. æD
  15068. #define gxSendAllColors        0x00000001
  15069. #define gxInterlaceColor    0x00000002
  15070. #define gxOverlayColor        0x00000004
  15071.  
  15072. #define gxRasterPackType        'rpck'
  15073. #define gxRasterPackID            (gxPrintingDriverBaseID)
  15074.  
  15075. type gxRasterPackType
  15076. {
  15077.     longint;            // buffer size for packaging (>= maximum head pass size)
  15078.     integer;            // iColorPasses :1 or 4 is typical
  15079.     integer;            // iHeadHeight  :Printhead height in pixels
  15080.     integer;            // iNumberPasses :number of head passes it takes to == iHeadHeight
  15081.     integer;            // iPassOffset : offset between passes, in pixels
  15082.     hex longint;        // flags
  15083. };
  15084.  
  15085. æC
  15086.  
  15087. Resource type and ID for raster driver packaging preferences.
  15088.  
  15089. The raster packaging resource controls how your driver uses the default
  15090. gxRasterDataIn message.  If you implement this message yourself, you should
  15091. not have this resource.  If you use the default gxRasterDataIn message,
  15092. you MUST have a resource of this type.
  15093.  
  15094. æKY gxRasterNumNone
  15095.     gxRasterNumDirect
  15096.     gxRasterNumToASCII
  15097.     ropt
  15098.     'ropt'
  15099.     gxRasterPackOptionsType
  15100.     gxRasterPackOptionsID
  15101. æF PrintingResTypes.r
  15102. æT resource
  15103. æD
  15104.     Values for the numberType field in the 'ropt' resource.
  15105.  
  15106. #define gxRasterNumNone            0    // number isn't output at all
  15107. #define gxRasterNumDirect        1    // lowest minWidth bytes as data
  15108. #define gxRasterNumToASCII        2    // minWidth ASCII characters
  15109.  
  15110. #define gxRasterPackOptionsType        'ropt'
  15111. #define gxRasterPackOptionsID        (gxPrintingDriverBaseID)
  15112.  
  15113. type gxRasterPackOptionsType
  15114. {
  15115.     integer;        // start page wstring ID
  15116.     integer;        // form feed wstring ID
  15117.     
  15118.     // forward line feed
  15119.     integer;        // max value
  15120.     integer;        // numberType
  15121.     integer;        // minWidth
  15122.     char;            // pad char
  15123.     fill byte;
  15124.     pstring[31];    // prefix string        
  15125.     pstring[31];    // postfix string
  15126.     
  15127.     // reverse line feed
  15128.     integer;        // max value
  15129.     integer;        // numberType
  15130.     integer;        // minWidth
  15131.     char;            // pad char
  15132.     fill byte;
  15133.     pstring[31];    // prefix string
  15134.     pstring[31];    // postfix string
  15135. };
  15136.  
  15137. æC
  15138.  
  15139. This resource controls the following 2 raster packaging messages: gxRasterLineFeed,
  15140. and gxRasterPackageBitmap.  If you allow the generic driver to implement these
  15141. messages for you then you MUST have a resource of this type. 
  15142.  
  15143. æKY crst
  15144.     'crst'
  15145.     gxColorSetResType
  15146. æF PrintingResTypes.r
  15147. æT resource
  15148. æD
  15149. #define gxColorSetResType    'crst'
  15150.  
  15151. type gxColorSetResType {
  15152.     longint;                            // colorSpace for the colorSet
  15153.     longint = $$CountOf(colorSet);
  15154.     array colorSet                         // members of the colorSet
  15155.         {
  15156.         hex integer;    
  15157.         hex integer;
  15158.         hex integer;
  15159.         hex integer;
  15160.         };
  15161. };
  15162.  
  15163. æC
  15164.  
  15165. Resource type for specifying a colorSet.
  15166.  
  15167. æKY donothing
  15168.     dumpwidestring
  15169.     dumpstringlist
  15170.     converttohex
  15171.     prec
  15172.     'prec'
  15173.     gxPostscriptProcSetControlType
  15174. æF PrintingResTypes.r
  15175. æT resource
  15176. æD
  15177. These types are for the second integer in the array below.
  15178.  
  15179. #define donothing            0
  15180. #define dumpwidestring        1
  15181. #define dumpstringlist        2
  15182. #define converttohex        0x0100
  15183.  
  15184. #define gxPostscriptProcSetControlType    'prec'
  15185.  
  15186. type gxPostscriptProcSetControlType    {
  15187.  
  15188.         pstring;                         // procset name
  15189.         align word;
  15190.         hex longint;                    // procset version -- type( Fixed )
  15191.         integer;                        // revision
  15192.         longint;                        // vm usage
  15193.         
  15194.         integer = $$Countof(IDArray);    // Number of resources that make up the data set.
  15195.  
  15196.             wide array IDArray {
  15197.                 
  15198.                 integer;                // ID of the resource containing the data.
  15199.                 integer;                // the flags are defined above
  15200.  
  15201.             };
  15202.     };
  15203.  
  15204. æC
  15205.  
  15206. Resource type for the PostScript imaging system procedure set control resource.
  15207.  
  15208. æKY pfnt
  15209.     'pfnt'
  15210.     gxPostscriptPrinterFontType
  15211. æF PrintingResTypes.r
  15212. æT resource
  15213. æD
  15214. #define gxPostscriptPrinterFontType         'pfnt'
  15215.  
  15216. type gxPostscriptPrinterFontType {
  15217.  
  15218.     longint        ROMFont = 0;                // memory usage
  15219.     
  15220.     switch        {
  15221.         case    AdobeCharacterSet:            // a font with the adobe character set
  15222.             key hex longint = 0x00000000;
  15223.         
  15224.         case    AppleCharacterSet:
  15225.             key hex longint = 0x00010000;    // a font with some of the glyph in the apple std set
  15226.             glyphbits:
  15227.                 longint        glyphcount;        // the max number of the glyph in the array
  15228.                 hex string [ ( ( $$Long( glyphbits ) + 7 ) / 8 ) ];
  15229.                 align long;
  15230.     
  15231.         case    EquivalentFont:                // a font with all equivalent glyphs on the mac
  15232.             key hex longint = 0x00020000;
  15233.     
  15234.         case    EncodedFont:                // a font that must be used as encoded
  15235.             key hex longint = 0x00030000;
  15236.                 longint;                    // platform
  15237.                 longint;                    // script
  15238.                 longint;                    // language
  15239.     };
  15240. };
  15241.  
  15242. æC
  15243.  
  15244. Resource type for the PostScript imaging system printer font resource.
  15245.  
  15246. æKY gxPostscriptPrefsType
  15247.     gxNeedsHex
  15248.     gxNeedsComments
  15249.     gxBoundingBoxesOption
  15250.     gxPortablePostScript
  15251.     gxTextClipsToPath
  15252.     gxFlattenClipPath
  15253.     gxUsercharpath1
  15254.     gxUseLevel2Color
  15255.     pdip
  15256.     'pdip'
  15257.     gxPostscriptPrefsID
  15258. æF PrintingResTypes.r
  15259. æT resource
  15260. æD
  15261. The following defines are used for the flags fields in the PostScriptPrefs data structure
  15262.  
  15263. #define gxNeedsHex                1
  15264. #define gxNeedsComments            2
  15265. #define gxBoundingBoxesOption    4
  15266. #define gxPortablePostScript    8
  15267. #define gxTextClipsToPath        16
  15268. #define gxFlattenClipPath        32
  15269. #define gxUsercharpath1            64
  15270. #define gxUseLevel2Color        128
  15271.  
  15272. The following define is for the fontType field in the PostScriptPrefs data structure.
  15273. It should parallel the enumeration for "streamType" inside the file "scaler types.h"
  15274.  
  15275. #define    truetypeStreamType        0x0001
  15276. #define    type1StreamType            0x0002
  15277. #define    type3StreamType            0x0004
  15278. #define    type42StreamType        0x0008
  15279. #define    type42GXStreamType        0x0010
  15280. #define    portableStreamType        0x0020
  15281. #define    flattenedStreamType        0x0040
  15282.  
  15283. #define gxPostscriptPrefsType        'pdip'
  15284. #define gxPostscriptPrefsID            (gxPrintingDriverBaseID)
  15285.  
  15286. type gxPostscriptPrefsType    {
  15287.  
  15288.         integer;            // language Level;
  15289.         longint;            // the color space for the device
  15290.         longint;            // render Options;
  15291.  
  15292.         longint;            // pathLimit;
  15293.         integer;            // gsaveLimit;
  15294.         integer;            // opStackLimit;
  15295.         longint;            // FontTypes;
  15296.  
  15297.         longint;            // printerVM;
  15298. };
  15299.  
  15300. æC
  15301.  
  15302. Resource type and id for the PostScript imaging system imaging preferences.
  15303.  
  15304. æKY scan
  15305.     'scan'
  15306.     gxPostscriptScanningType
  15307.     gxPostscriptScanningID
  15308.     StringScan
  15309.     OffsetScan
  15310.     ActionScan
  15311. æF PrintingResTypes.r
  15312. æT resource
  15313. æD
  15314. The following is the definition for the default scanning resource
  15315. for postscript imaging system:
  15316.  
  15317. #define gxPostscriptScanningType    'scan'
  15318. #define    gxPostscriptScanningID        (gxPrintingDriverBaseID)
  15319.  
  15320. #define StringScan    switch    {                    \
  15321.             case SimpleScan:                    \
  15322.                 key integer = 0;                \
  15323.                         wstring;                \
  15324.                         align word;                \
  15325.             case UserNameScan:                    \
  15326.                 key integer = 1;                \
  15327.             case DocumentNameScan:                \
  15328.                 key integer = 2;                \
  15329.             case PrinterNameScan:                \
  15330.                 key integer = 3;                \
  15331.             case NilPtrScan:                    \
  15332.                 key integer = 4;                \
  15333.                 integer    length;                    \
  15334.         }
  15335.         
  15336. #define    OffsetScan    switch    {                    \
  15337.             case SimpleOffset:                    \
  15338.                 key integer = 0;                \
  15339.             case SameAsPreviousOffset:            \
  15340.                 key integer = 1;                \
  15341.             case ReturnedOffset:                \
  15342.                 key integer = 2;                \
  15343.             case SimpleRepeat:                    \
  15344.                 key integer = 16;                \
  15345.             case SampleAsPreviousRepeat:        \
  15346.                 key integer = 17;                \
  15347.             case ReturnedRepeat:                \
  15348.                 key integer = 18;                \
  15349.         }
  15350.         
  15351. #define    ActionScan    switch    {                    \
  15352.             case NoAction:                        \
  15353.                 key integer = 0;                \
  15354.             case SimpleAction:                    \
  15355.                 key integer = 1;                \
  15356.                 integer    normal = 0,                \
  15357.                         nonFatalError,            \
  15358.                         fatalError;                \
  15359.                 integer    alertID;                \
  15360.         }
  15361.  
  15362. type gxPostscriptScanningType        {
  15363.  
  15364.     longint ownerCount;
  15365.     
  15366.     array    { 
  15367.                 StringScan;
  15368.                 StringScan;
  15369.                 OffsetScan;
  15370.                 ActionScan;
  15371.             };
  15372. };
  15373.  
  15374. æKY gxPaperTypeVersion
  15375. æF PrintingResTypes.r
  15376. æT constant
  15377. æD
  15378. #define    gxPaperTypeVersion    0x00010000    // Version 1.0
  15379.  
  15380. æKY ptyp
  15381.     'ptyp'
  15382.     gxPaperTypeType
  15383. æF PrintingResTypes.r
  15384. æT resource
  15385. æD
  15386. Miscellaneous types used by the 'ptyp' definition
  15387.  
  15388. #define        fixed            hex longint
  15389. #define        gxRectangle        fixed; /* left */ fixed; /* top */ fixed; /* right */ fixed /* bottom */
  15390.  
  15391. 'ptyp' - definition of a paper type resource
  15392.  
  15393. #define    gxPaperTypeType        'ptyp'
  15394.  
  15395. type gxPaperTypeType {
  15396.     pstring;                                    // paper type name
  15397.     align word;
  15398.     gxRectangle;                                // page rectangle
  15399.     gxRectangle;                                // paper rectangle
  15400.     longint        unknownBase        =    0,            // base paper type from which this paper type is
  15401.                 usLetterBase    =    1,            // derived.  This is not a complete set.
  15402.                 usLegalBase        =    2,
  15403.                 a4LetterBase    =    3,
  15404.                 b5LetterBase    =    4,
  15405.                 tabloidBase        =    5;
  15406.     literal longint;                            // creator
  15407.     byte            pica    =    0,                // Unit of measure
  15408.                     mm        =    1,
  15409.                     inch    =    2;
  15410.     unsigned bitstring[2]    newStylePaperType        =    1,    // Flags
  15411.                             oldStylePaperType        =    2,
  15412.                             oldAndNewStylePaperType    =    3;
  15413.     unsigned bitstring[1]    = 0;                    
  15414.     boolean        notDefaultPaperType    =    false,
  15415.                 isDefaultPaperType    =    true;
  15416.     unsigned bitstring[20] = 0;                    // Reserved flags
  15417.     
  15418.     longint = $$CountOf(ItemArray);                // embedded collection
  15419.     array ItemArray
  15420.         {
  15421.         longint;        //    tag;
  15422.         longint;        //    id;
  15423.             boolean        itemUnlocked            =    false,    // defined attributes bits...
  15424.                         itemLocked                =    true;
  15425.             boolean        itemNonPersistent        =    false,
  15426.                         itemPersistent            =    true;
  15427.             unsigned bitstring[14] = 0;                        // reserved attributes bits...
  15428.             unsigned bitstring[16];                // user attributes bits...
  15429.         wstring;
  15430.         align word;
  15431.     };
  15432. };
  15433.  
  15434. æKY stat
  15435.     'stat'
  15436.     gxStatusType
  15437. æF PrintingResTypes.r
  15438. æT resource
  15439. æD
  15440. #define gxStatusType        'stat'
  15441.  
  15442. type gxStatusType {
  15443.     longint;                                    // status Owner
  15444.     array statarray {
  15445.         INTEGER        nonFatalError = 1, 
  15446.                     fatalError = 2, 
  15447.                     printerReady = 3, 
  15448.                     userAttention = 4, 
  15449.                     userAlert = 5, 
  15450.                     pageTransmission = 6, 
  15451.                     openConnectionStatus = 7,
  15452.                     informationalStatus = 8,
  15453.                     spoolingPageStatus = 9,
  15454.                     endStatus = 10,
  15455.                     percentageStatus = 11;
  15456.                     
  15457.         INTEGER;                                // statusId;
  15458.         INTEGER;                                // statusAlertId;
  15459.         pstring;                                 // statusMessage;
  15460.         align word;
  15461.         };
  15462.     };
  15463.  
  15464. æKY ppnl
  15465.     'ppnl'
  15466.     gxPrintPanelType
  15467. æF PrintingResTypes.r
  15468. æT resource
  15469. æD
  15470. #define gxPrintPanelType        'ppnl'
  15471.  
  15472. type gxPrintPanelType {
  15473.     pstring[31];            // the panel name
  15474.     integer Script;            // script id
  15475.     fill     word;            // reserve a long word for future use of international
  15476.     fill     word;            // reserve a long word for future use of international
  15477.     integer;                // the icon id
  15478.     integer;                // the ditl id
  15479. };
  15480.  
  15481. æKY xdtl
  15482.     'xdtl'
  15483.     gxExtendedDITLType
  15484. æF PrintingResTypes.r
  15485. æT resource
  15486. æD
  15487. #define gxExtendedDITLType        'xdtl'
  15488.  
  15489. #define        xdtlRadioButtons        0
  15490. #define        xdtlCheckBox            1
  15491. #define        xdtlEditTextInteger        2
  15492. #define        xdtlEditTextReal        3
  15493. #define        xdtlEditTextString        4
  15494. #define        xdtlPopUp                5
  15495.  
  15496.  
  15497. type gxExtendedDITLType {
  15498.     integer = $$CountOf(xdtlarray) -1;
  15499.     wide array xdtlarray {
  15500.         switch {
  15501.             case RadioButtons:
  15502.                 key        integer = xdtlRadioButtons;
  15503.                 literal    longint;        // 4 byte id for storage in job or format
  15504.                         longint;        // numerical id for storage in job or format
  15505.                         integer;        // offset in bytes into tag item
  15506.                         integer = $$CountOf(RadioButtonsArray) - 1;
  15507.                         wide array RadioButtonsArray
  15508.                         {
  15509.                             byte;        // array of corresponding items
  15510.                         };
  15511.             case CheckBox:
  15512.                 key        integer = xdtlCheckBox;
  15513.                 literal    longint;        // 4 byte id for storage in job or format
  15514.                         longint;        // numerical id for storage in job or format
  15515.                         integer;        // offset in bytes into tag item
  15516.                         byte;            // corresponding ditl item
  15517.                         fill byte;
  15518.                                     
  15519.             case EditTextInteger:
  15520.                 key        integer = xdtlEditTextInteger;
  15521.                 literal    longint;            // 4 byte id for storage in job or format
  15522.                             longint;        // numerical id for storage in job or format
  15523.                             integer;        // offset in bytes into tag item
  15524.                             byte;            // corresponding ditl item
  15525.                             byte;            // 0 = dont select, 1 = select
  15526.                             pstring[15];    // low bound - nil means 'I don't care'
  15527.                             pstring[15];    // high bound - nil means 'I don't care'
  15528.  
  15529.             case EditTextReal:
  15530.                 key        integer = xdtlEditTextReal;
  15531.                 literal    longint;            // 4 byte id for storage in job or format
  15532.                             longint;        // numerical id for storage in job or format
  15533.                             integer;        // offset in bytes into tag item
  15534.                             byte;            // corresponding ditl item
  15535.                             byte;            // 0 = dont select, 1 = select
  15536.                             pstring[15];    // low bound - nil means 'I don't care'
  15537.                             pstring[15];    // high bound - nil means 'I don't care'
  15538.  
  15539.             case EditTextString:
  15540.                 key        integer = xdtlEditTextString;
  15541.                 literal    longint;        // 4 byte id for storage in job or format
  15542.                         longint;        // numerical id for storage in job or format
  15543.                         integer;        // offset in bytes into tag item
  15544.                         byte;            // corresponding ditl item
  15545.                         byte;            // 0 = dont select, 1 = select
  15546.  
  15547.             case PopUp:
  15548.                 key        integer = xdtlPopUp;
  15549.                 literal    longint;        // 4 byte id for storage in job or format
  15550.                         longint;        // numerical id for storage in job or format
  15551.                         integer;        // offset in bytes into tag item
  15552.                         byte;            // corresponding ditl item 
  15553.                         fill byte;
  15554.             };
  15555.             align word;
  15556.         };
  15557.     };
  15558.  
  15559. æKY plrt
  15560.     'plrt'
  15561.     gxPrintingAlertType
  15562. æF PrintingResTypes.r
  15563. æT resource
  15564. æD
  15565. #define gxPrintingAlertType        'plrt'
  15566.  
  15567. type gxPrintingAlertType {
  15568.     integer        printingAlert = 1,
  15569.                 printingStatus = 2;                // printing alert version
  15570.     integer     noIcon = -1,
  15571.                 stopIcon = 0,
  15572.                 noteIcon = 1,
  15573.                 cautionIcon = 2;                // icon id
  15574.     integer     defaultSystemSize = 0;            // text size
  15575.     byte        noDefaultTitle = 0,
  15576.                 defaultAction = 1,
  15577.                 defaultTitle2 = 2,
  15578.                 defaultTitle3 = 3;                // default button
  15579.     byte        noCancelTitle = 0,
  15580.                 cancelAction = 1,
  15581.                 cancelTitle2 = 2,
  15582.                 cancelTitle3 = 3;                // cancel button
  15583.     wstring;                                    // text string
  15584.     pstring;                                    // action button label
  15585.     pstring;                                    // button label 2
  15586.     pstring;                                    // button label 3
  15587.     pstring;                                    // font name
  15588.     pstring        AlertTitle = "Alert";            // alert title
  15589.     };
  15590.  
  15591. æKY tryn
  15592.     'tryn'
  15593.     gxTrayNameDataType
  15594. æF PrintingResTypes.r
  15595. æT resource
  15596. æD
  15597. #define gxTrayNameDataType            'tryn'
  15598.  
  15599. type gxTrayNameDataType {        // tray name data type ('tryn')
  15600.     pstring[31];
  15601. };
  15602.  
  15603. æC
  15604.  
  15605. Driver resource to specify the tray name
  15606.  
  15607. æKY tray
  15608.     'tray'
  15609.     gxTrayCountDataID
  15610.     gxTrayCountDataType
  15611. æF PrintingResTypes.r
  15612. æT resource
  15613. æD
  15614. #define gxTrayCountDataType            'tray'
  15615. #define gxTrayCountDataID            (gxPrintingDriverBaseID)
  15616.  
  15617. type gxTrayCountDataType {
  15618.     longint;                    // count of trays
  15619. };
  15620.  
  15621. æC
  15622.  
  15623. Driver resource type and id for the tray count.
  15624.  
  15625. æKY dctl
  15626.     'dctl'
  15627.     gxDITLControlType
  15628. æF PrintingResTypes.r
  15629. æT resource
  15630. æD
  15631. #define gxDITLControlType         'dctl'
  15632.  
  15633. type gxDITLControlType{
  15634.     integer;                                /*  DITLsize Maximum item count for DITL */
  15635.     
  15636.     integer = $$CountOf(dctlarray) - 1;        /* Array size */
  15637.     wide array dctlarray {
  15638.         switch {
  15639.  
  15640.         case Button:
  15641.             key integer     = 1;
  15642.                 integer;                    /* Item ID that this is the button of */
  15643.                 integer                        /* Button kind */
  15644.                     cancel    = 0;    
  15645.         case Cluster:
  15646.             key integer     = 2;
  15647.             integer                            /* What kind of cluster this is? */
  15648.                 feed        = 0,
  15649.                 quality        = 1,
  15650.                 coverPage    = 2,
  15651.                 firstPage    = 3,
  15652.                 restPage    = 4,
  15653.                 headMotion    = 5,
  15654.                 createFile    = 6,
  15655.                 user0        = 7,
  15656.                 user1        = 8,
  15657.                 user2        = 9;
  15658.                 
  15659.             integer = $$CountOf(ClusterArray) - 1;
  15660.                 wide array ClusterArray
  15661.                     {
  15662.                     integer;                /* The item ID this corresponds to */
  15663.                     };
  15664.  
  15665.         case Copies:
  15666.             key integer = 3;
  15667.                 integer;                    /* ID of the item */
  15668.                 
  15669.         case DialogBtn:
  15670.             key integer = 4;
  15671.                 integer;                    /* Item ID of the cascade button */
  15672.                 integer;                    /* ID of the dialog */
  15673.                 integer;                    /* ID of the dctl for the dialog */
  15674.  
  15675.         case Frill:
  15676.             key integer = 5;        
  15677.                 integer;                    /* Item ID of this frill */
  15678.                 integer                        /* What kind of frill might this be? */
  15679.                     line         = 0,
  15680.                     version        = 1,
  15681.                     default        = 2,
  15682.                     printerName    = 3;
  15683.  
  15684.         case Moof:
  15685.             key integer = 6;
  15686.                 integer;                    /* ID of the Moof∞™ (a.k.a. "Clarus the dogCow") */
  15687.                 
  15688.         case OKButton:
  15689.             key integer = 7;
  15690.                 integer;                    /* Item ID of the OK button */
  15691.                 integer;                    /* ID of the "Print" string */
  15692.                 integer;                    /* ID of the "Save" string */
  15693.  
  15694.         case Orientation:
  15695.             key integer = 8;    
  15696.                 integer;                    /* ID of portrait orientation */
  15697.                 integer;                    /* ID of the landscape orientation */
  15698.                 integer;                    /* ID of flipped portrait */
  15699.                 integer;                    /* ID of the flipped landscape */
  15700.  
  15701.         case PageRange:
  15702.             key integer = 9;
  15703.                 integer;                    /* ID of the "all" button */
  15704.                 integer;                    /* ID of the range button */
  15705.                 integer;                    /* ID of the from edit text */
  15706.                 integer;                    /* ID of the to edit text */
  15707.                 
  15708.         case PaperSizes:
  15709.             key integer = 10;
  15710.             integer;                        /* Item of the popup */
  15711.             integer;                        /* Item of the popup radio button */
  15712.             fill long;
  15713.             fill word;
  15714.                         
  15715.             integer = $$CountOf(ClusterArray) - 1;
  15716.                 wide array ClusterArray
  15717.                     {
  15718.                     integer;                /* The item ID this corresponds to */
  15719.                     };
  15720.                     
  15721.         case Scale:
  15722.             key integer = 11;
  15723.                     integer;                /* Item ID of the edit text */
  15724.                     integer;                /* Item ID of the arrow useritem */
  15725.                     integer;                /* resource ID for the 'stab' resource */
  15726.         case Toggle:
  15727.             key integer = 12;
  15728.             integer;                        /* Item ID that this coresponds to */
  15729.             integer                            /* Value to OR into flags to set it */
  15730.                 bPreciseBitmap         = $0001,
  15731.                 bBiggerPages        = $0002,
  15732.                 bGraphicSmoothing    = $0004,
  15733.                 bTextSmoothing        = $0008,
  15734.                 bFontSubstitution    = $0010,
  15735.                 bInvert                = $0020,
  15736.                 bFlipHoriz            = $0040,
  15737.                 bFlipVert            = $0080,
  15738.                 bColorMode            = $0100,
  15739.                 bBidirectional        = $0200,
  15740.                 bUser0                = $0400,
  15741.                 bUser1                = $0800,
  15742.                 bUser2                = $1000,
  15743.                 bReserved0            = $2000,
  15744.                 bReserved1            = $4000,
  15745.                 bReserved2            = $8000;
  15746.         };
  15747.     align word;                                /* Each item is word aligned */
  15748.     };
  15749. };
  15750.  
  15751. æKY stab
  15752.     'stab'
  15753.     gxScaleTableType
  15754. æF PrintingResTypes.r
  15755. æT resource
  15756. æD
  15757. #define gxScaleTableType        'stab'
  15758.  
  15759. type gxScaleTableType {
  15760.     integer = $$Countof(valarray);
  15761.     array valarray {
  15762.         integer;
  15763.         };
  15764.     };
  15765.  
  15766. æC
  15767.  
  15768. Definition for values in a reduction table -
  15769. NOTE - VALUES EXPECTED IN ASCENDING ORDER
  15770.  
  15771. æKY gxInputTraysMenuItem
  15772. æFc PrintingDrivers.h
  15773. æT constant
  15774. æD
  15775. enum {
  15776.     gxInputTraysMenuItem = -1
  15777. };
  15778.  
  15779. æC
  15780.  
  15781. Menu item number for "Input Trays..."
  15782.  
  15783. æKY gxUseCustomIO
  15784. æFc PrintingDrivers.h
  15785. æT constant
  15786. æD
  15787. enum {                                // bit fields in communicationsOptions field of IOPrefsRec
  15788.     gxUseCustomIO    = 0x00000001    // driver uses a non-standard IO mechanism
  15789. };
  15790.  
  15791. æKY gxIOPrefsRec
  15792.     gxIOPrefsPtr
  15793.     gxIOPrefsHdl
  15794. æFc PrintingDrivers.h
  15795. æT structure
  15796. æD
  15797. struct gxIOPrefsRec{                        // buffering and IO preferences
  15798.     unsigned long    communicationsOptions;
  15799.     unsigned long    numBuffers;
  15800.     unsigned long    bufferSize;
  15801.     unsigned long    numReqBlocks;
  15802.     unsigned long    openCloseTimeout;
  15803.     unsigned long    readWriteTimeout;
  15804. };
  15805.  
  15806. typedef struct gxIOPrefsRec gxIOPrefsRec, *gxIOPrefsPtr, **gxIOPrefsHdl;
  15807.  
  15808. æKY gxPrintDestinationRec
  15809.     gxPrintDestinationPtr
  15810.     gxPrintDestinationHdl
  15811. æFc PrintingDrivers.h
  15812. æT structure
  15813. æD
  15814. struct gxPrintDestinationRec{            // information about writing to a file
  15815.     Boolean        printToFile;            // true if output is to go to a file
  15816.     FSSpec        fSpec;                    // if going to a file, the FSSpec for the file
  15817.     char        includeFonts;            // true if fonts are to be included
  15818.     Str31        fileFormat;                // format to write file
  15819. };
  15820.  
  15821. typedef struct gxPrintDestinationRec gxPrintDestinationRec, *gxPrintDestinationPtr, **gxPrintDestinationHdl;
  15822.  
  15823. æKY gxPortListRec
  15824.     gxPortListPtr
  15825. æFc PrintingDrivers.h
  15826. æT structure
  15827. æD
  15828. This structure is the content of each cell in the standard PACK LDEF
  15829.  
  15830. struct gxPortListRec{
  15831.     char    firstMarker, secondMarker;        // markers to indicate icon or non-icon version
  15832.                                             // if these are ≈ and ≈, then the cell is an icon cell.
  15833.                                             // Otherwise, it is assumed to be a standard text LDEF
  15834.                                             // cell
  15835.     
  15836.     Handle    iconSuiteHandle;                // the icon suite to draw for this cell
  15837.     Handle    outputDriverName;                // handle to the output driver name (for serial)
  15838.     Handle    inputDriverName;                // handle to the input driver name (for serial)
  15839.     Str255    iconName;                        // name to draw under the icon
  15840. };
  15841.  
  15842. typedef struct gxPortListRec gxPortListRec, *gxPortListPtr;
  15843.  
  15844. æKY gxDeviceCommunicationsID
  15845. æFc PrintingDrivers.h
  15846. æT constant
  15847. æD
  15848. #define gxDeviceCommunicationsID (0)
  15849.  
  15850. æKY prod
  15851.     'prod'
  15852.     gxPostscriptProductInfoType
  15853.     gxPostscriptProductNameID
  15854.     gxPostscriptVersionID
  15855.     gxPostscriptRevisionID
  15856.     gxPostscriptVMAvailableID
  15857.     gxPostscriptFontStreamTypeID
  15858.     gxPostscriptLanguageLevelID
  15859. æFc PrintingDrivers.h
  15860. æT constant
  15861. æD
  15862. // ----------------------------------• 'prod' •----------------------------------
  15863.  
  15864. // for PostScript devices, the device and version names of the device.
  15865. // (0) product name is of type PString
  15866. // (1) version is of type PString
  15867. // (2) revision is of type PString
  15868. // (3) vm available is of type long
  15869. // (4) font stream type is of type scalerStreamTypeFlag
  15870. // (5) language level is of type long
  15871.  
  15872. #define gxPostscriptProductInfoType    'prod'
  15873. #define gxPostscriptProductNameID        (0)
  15874. #define gxPostscriptVersionID            (1)
  15875. #define gxPostscriptRevisionID            (2)
  15876. #define gxPostscriptVMAvailableID        (3)
  15877. #define gxPostscriptFontStreamTypeID    (4)
  15878. #define gxPostscriptLanguageLevelID        (5)
  15879.  
  15880. æKY gxAutoFeedButtonId
  15881. æFc PrintingDrivers.h
  15882. æT constant
  15883. æD
  15884. The 'DITL' id for the auto feed button in the manual feed alert
  15885.  
  15886. enum {                                    
  15887.         gxAutoFeedButtonId    = 3
  15888. };
  15889.  
  15890. æKY gxUnivAlertStatusResourceId
  15891.     gxUnivManualFeedIndex
  15892.     gxUnivFailToPrintIndex
  15893.     gxUnivPaperJamIndex
  15894.     gxUnivOutOfPaperIndex
  15895.     gxUnivNoPaperTrayIndex
  15896.     gxUnivPrinterReadyIndex
  15897.     gxUnivAlertBeforeIndex
  15898.     gxUnivAlertAfterIndex
  15899. æFc PrintingDrivers.h
  15900. æT constant
  15901. æD
  15902. Status resource id for the alerts
  15903.  
  15904. enum {                                    
  15905.     gxUnivAlertStatusResourceId    = -28508
  15906. };
  15907.  
  15908. Status resource indices for the alerts
  15909.  
  15910. enum {
  15911.     gxUnivManualFeedIndex         = 2,
  15912.     gxUnivFailToPrintIndex         = 3,
  15913.     gxUnivPaperJamIndex         = 4,
  15914.     gxUnivOutOfPaperIndex         = 5,
  15915.     gxUnivNoPaperTrayIndex         = 6,
  15916.     gxUnivPrinterReadyIndex     = 7,
  15917.     gxUnivAlertBeforeIndex         = 9,
  15918.     gxUnivAlertAfterIndex         = 10
  15919. };
  15920.  
  15921. Allocation sizes for status buffers needed for automatic alerts
  15922.  
  15923.  
  15924. enum {                                    
  15925.     gxDefaultStatusBufferSize     = 10,
  15926.     gxManualFeedStatusBufferSize = 34,
  15927.     gxOutOfPaperStatusBufferSize = 42
  15928. };
  15929.  
  15930. æKY gxManualFeedRecord
  15931.     gxOutOfPaperRecord
  15932. æFc PrintingDrivers.h
  15933. æT structure
  15934. æD
  15935. Structures for status buffers
  15936.  
  15937. struct gxManualFeedRecord{                // structure passed in statusBuffer of StatusRecord for manual feed alert
  15938.     Boolean        canAutoFeed;            // true if driver can switch to auto feed
  15939.     Str31        paperTypeName;            // name of paperType to feed manually
  15940. };
  15941.  
  15942. struct gxOutOfPaperRecord{                // structure passed in statusBuffer of StatusRecord for out of paper alert
  15943.     Str31        paperTypeName;            // name of printing document
  15944. };
  15945.  
  15946. æKY gxCustomizationRec
  15947.     gxCustomizationPtr
  15948.     gxCustomizationHdl
  15949. æFc PrintingDrivers.h
  15950. æT structure
  15951. æD
  15952. The format of a 'cust' resource 
  15953.  
  15954. struct gxCustomizationRec{
  15955.     short    horizontalResolution;
  15956.     short    verticalResolution;
  15957.     short    upDriverType;
  15958.     Point    patternStretch;
  15959.     short    translatorSettings;
  15960. };
  15961.  
  15962. typedef struct gxCustomizationRec gxCustomizationRec, *gxCustomizationPtr, **gxCustomizationHdl;
  15963.  
  15964. æKY gxResolutionRec
  15965.     gxResolutionPtr
  15966.     gxResolutionHdl
  15967. æFc PrintingDrivers.h
  15968. æT structure
  15969. æD
  15970. The format of a 'resl' resource
  15971.  
  15972. struct gxResolutionRec{
  15973.     short        rangeType;                // always 1
  15974.     short        xMinimumResolution;
  15975.     short        xMaximumResolution;
  15976.     short        yMinimumResolution;
  15977.     short        yMaximumResolution;
  15978.     short        resolutionCount;
  15979.     Point        resolutions[1];
  15980. };
  15981.  
  15982. typedef struct gxResolutionRec gxResolutionRec, *gxResolutionPtr, **gxResolutionHdl;
  15983.  
  15984. æKY gxUniversalPrintRecord
  15985.     gxUniversalPrintRecordPtr
  15986.     gxUniversalPrintRecordHdl
  15987.     gxPrintRecordVersion
  15988.     gxAutoFeed
  15989.     gxManualFeed
  15990.     gxPreciseBitmap
  15991.     gxBiggerPages
  15992.     gxGraphicSmoothing
  15993.     gxTextSmoothing
  15994.     gxFontSubstitution
  15995.     gxInvertPage
  15996.     gxFlipPageHoriz
  15997.     gxFlipPageVert
  15998.     gxColorMode
  15999.     gxBidirectional
  16000.     gxUserFlag0
  16001.     gxUserFlag1
  16002.     gxUserFlag2
  16003.     gxReservedFlag0
  16004.     gxReservedFlag1
  16005.     gxReservedFlag2
  16006.     gxPortraitOrientation
  16007.     gxLandscapeOrientation
  16008.     gxAltPortraitOrientation
  16009.     gxAltLandscapeOrientation
  16010.     gxBestQuality
  16011.     gxFasterQuality
  16012.     gxDraftQuality
  16013.     gxFirstTray    
  16014.     gxSecondTray
  16015.     gxThirdTray
  16016.     gxNoCoverPage
  16017.     gxFirstPageCover
  16018.     gxLastPageCover
  16019.     gxUnidirectionalMotion
  16020.     gxBidirectionalMotion
  16021.     gxNoFile
  16022.     gxPostScriptFile
  16023. æFc PrintingDrivers.h
  16024. æT structure
  16025. æD
  16026. Constants for the "universal" print record...    
  16027.  
  16028. enum {                                        // version number for "universal" print record
  16029.     gxPrintRecordVersion    = 8
  16030. };
  16031.  
  16032. enum {                                        // for feed field...
  16033.     gxAutoFeed                    = 0,
  16034.     gxManualFeed                = 1
  16035. };
  16036.  
  16037. enum {                                        // bit fields for options field...
  16038.     gxPreciseBitmap                = 0x0001,    // tall adjusted (IW), precise bitmap (LW, SC)
  16039.     gxBiggerPages                = 0x0002,    // no gaps (IW), larger print area (LW)
  16040.     gxGraphicSmoothing            = 0x0004,    // graphic smoothing (LW)
  16041.     gxTextSmoothing                = 0x0008,    // text smoothing (SC)
  16042.     gxFontSubstitution            = 0x0010,    // font substitution
  16043.     gxInvertPage                = 0x0020,    // b/w invert image
  16044.     gxFlipPageHoriz                = 0x0040,    // flip horizontal
  16045.     gxFlipPageVert                = 0x0080,    // flip vertical
  16046.     gxColorMode                    = 0x0100,    // color printing
  16047.     gxBidirectional                = 0x0200,    // bidirectional printing
  16048.     gxUserFlag0                    = 0x0400,    // user flag 0
  16049.     gxUserFlag1                    = 0x0800,    // user flag 1
  16050.     gxUserFlag2                    = 0x1000,    // user flag 2
  16051.     gxReservedFlag0                = 0x2000,    // reserved flag 0
  16052.     gxReservedFlag1                = 0x4000,    // reserved flag 1
  16053.     gxReservedFlag2                = 0x8000    // reserved flag 2
  16054. };
  16055.  
  16056. enum {                                        // for orientation field...
  16057.     gxPortraitOrientation        = 0,
  16058.     gxLandscapeOrientation        = 1,
  16059.     gxAltPortraitOrientation    = 2,
  16060.     gxAltLandscapeOrientation    = 3
  16061. };
  16062.  
  16063. enum {                                        // for qualityMode field...
  16064.     gxBestQuality            = 0,
  16065.     gxFasterQuality        = 1,
  16066.     gxDraftQuality            = 2
  16067. };
  16068.  
  16069. enum {                                        // for firstTray and remainingTray fields...
  16070.     gxFirstTray                = 0,
  16071.     gxSecondTray            = 1,
  16072.     gxThirdTray                = 2
  16073. };
  16074.  
  16075. enum {                                        // for coverPage field...
  16076.     gxNoCoverPage                = 0,
  16077.     gxFirstPageCover            = 1,
  16078.     gxLastPageCover            = 2
  16079. };
  16080.  
  16081. enum {                                        // for headMotion field...
  16082.     gxUnidirectionalMotion    = 0,
  16083.     gxBidirectionalMotion    = 1
  16084. };
  16085.  
  16086. enum {                                        // for saveFile field...
  16087.     gxNoFile                    = 0,
  16088.     gxPostScriptFile            = 1
  16089. };
  16090.  
  16091.  
  16092. // the format of the "universal" print record
  16093.  
  16094. struct gxUniversalPrintRecord{
  16095.     short                prVersion;          // print record version 
  16096.     
  16097.                                         // prInfo subrecord...
  16098.     
  16099.     short                appDev;                // device kind, always 0
  16100.     short                appVRes;            // application vertical resolution
  16101.     short                appHRes;            // application horizontal resolution
  16102.     Rect                appPage;            // page size, in application resolution
  16103.     
  16104.     Rect                 appPaper;           // paper rectangle [offset from rPage]
  16105.     
  16106.                                         // prStl subrecord...
  16107.                                         
  16108.     short                devType;            // device type, always 0xA900 (was wDev)
  16109.     short                pageV;                // page height in 120ths of an inch
  16110.     short                pageH;                // page width in 120ths of an inch
  16111.     char                fillByte;            // page calculation mode
  16112.     char                feed;                // feed mode
  16113.     
  16114.                                         // prInfoPT subrecord...
  16115.                                         
  16116.     short                devKind;            // device kind, always 0
  16117.     short                devVRes;            // device vertical resolution
  16118.     short                devHRes;            // device horizontal resolution
  16119.     Rect                devPage;            // device page size
  16120.     
  16121.                                         // prXInfo subrecord...
  16122.                                         
  16123.     short                actualCopies;        // actual number of copies for this job
  16124.     short                options;            // options for this device
  16125.     short                reduction;            // reduce/enlarge factor
  16126.     
  16127.     char                orientation;        // orientation of paper ( 0=portrait, 1=landscape )
  16128.     
  16129.                                         // clusters...
  16130.                                         
  16131.     char                qualityMode;        // quality mode
  16132.     char                coverPage;            // cover page
  16133.     char                firstTray;            // first feed tray
  16134.     char                remainingTray;        // remaining feed tray
  16135.     char                headMotion;            // head motion
  16136.     char                saveFile;            // save file
  16137.     
  16138.     char                userCluster1;        // three clusters left over...
  16139.     char                userCluster2;
  16140.     char                userCluster3;
  16141.  
  16142.                                         // prJob subrecord...
  16143.                                     
  16144.     short                firstPage;            // first page
  16145.     short                lastPage;            // last page
  16146.     short                copies;                // # of copies, always 1
  16147.     char                reserved1;            // always true, unused
  16148.     char                reserved2;            // always true, unused
  16149.     PrIdleProcPtr    pIdleProc;                // idle proc
  16150.     Ptr                pFileName;                // spool file name pointer
  16151.     short                fileVol;            // spool file vRefNum
  16152.     char                fileVers;            // file version, must be 0
  16153.     char                reserved3;            // always 0
  16154.     
  16155.     short             printX[19];              // internal use
  16156. };
  16157.  
  16158. typedef struct gxUniversalPrintRecord gxUniversalPrintRecord, *gxUniversalPrintRecordPtr, **gxUniversalPrintRecordHdl;
  16159.  
  16160. æKY Forward_GXPrOpenDoc
  16161. æFc PrintingDrivers.h
  16162. æT function
  16163. æD
  16164. OSErr Forward_GXPrOpenDoc (THPrint, TPPrPort *)
  16165.     = GXFORWARDGLUE;
  16166.  
  16167. æKY Forward_GXPrCloseDoc
  16168. æFc PrintingDrivers.h
  16169. æT function
  16170. æD
  16171. OSErr Forward_GXPrCloseDoc (TPPrPort)
  16172.     = GXFORWARDGLUE;
  16173.  
  16174. æKY Forward_GXPrOpenPage
  16175. æFc PrintingDrivers.h
  16176. æT function
  16177. æD
  16178. OSErr Forward_GXPrOpenPage (TPPrPort, TPRect, Point resolution)
  16179.     = GXFORWARDGLUE;
  16180.  
  16181. æKY Forward_GXPrClosePage
  16182. æFc PrintingDrivers.h
  16183. æT function
  16184. æD
  16185. OSErr Forward_GXPrClosePage (TPPrPort)
  16186.     = GXFORWARDGLUE;
  16187.  
  16188. æKY Forward_GXPrintDefault
  16189. æFc PrintingDrivers.h
  16190. æT function
  16191. æD
  16192. OSErr Forward_GXPrintDefault (THPrint)
  16193.     = GXFORWARDGLUE;
  16194.  
  16195. æKY Forward_GXPrStlDialog
  16196. æFc PrintingDrivers.h
  16197. æT function
  16198. æD
  16199. OSErr Forward_GXPrStlDialog (THPrint, Boolean *)
  16200.     = GXFORWARDGLUE;
  16201.  
  16202. æKY Forward_GXPrJobDialog
  16203. æFc PrintingDrivers.h
  16204. æT function
  16205. æD
  16206. OSErr Forward_GXPrJobDialog (THPrint, Boolean *)
  16207.     = GXFORWARDGLUE;
  16208.  
  16209. æKY Forward_GXPrStlInit
  16210. æFc PrintingDrivers.h
  16211. æT function
  16212. æD
  16213. OSErr Forward_GXPrStlInit (THPrint, TPPrDlg *)
  16214.     = GXFORWARDGLUE;
  16215.  
  16216. æKY Forward_GXPrJobInit
  16217. æFc PrintingDrivers.h
  16218. æT function
  16219. æD
  16220. OSErr Forward_GXPrJobInit (THPrint, TPPrDlg *)
  16221.     = GXFORWARDGLUE;
  16222.  
  16223. æKY Forward_GXPrDlgMain
  16224. æFc PrintingDrivers.h
  16225. æT function
  16226. æD
  16227. OSErr Forward_GXPrDlgMain (THPrint, PDlgInitProcPtr, Boolean *)
  16228.     = GXFORWARDGLUE;
  16229.  
  16230. æKY Forward_GXPrValidate
  16231. æFc PrintingDrivers.h
  16232. æT function
  16233. æD
  16234. OSErr Forward_GXPrValidate (THPrint, Boolean *)
  16235.     = GXFORWARDGLUE;
  16236.  
  16237. æKY Forward_GXPrJobMerge
  16238. æFc PrintingDrivers.h
  16239. æT function
  16240. æD
  16241. OSErr Forward_GXPrJobMerge (THPrint, THPrint)
  16242.     = GXFORWARDGLUE;
  16243.  
  16244. æKY Forward_GXPrGeneral
  16245. æFc PrintingDrivers.h
  16246. æT function
  16247. æD
  16248. OSErr Forward_GXPrGeneral (Ptr)
  16249.     = GXFORWARDGLUE;
  16250.  
  16251. æKY Forward_GXConvertPrintRecordTo
  16252. æFc PrintingDrivers.h
  16253. æT function
  16254. æD
  16255. OSErr Forward_GXConvertPrintRecordTo (THPrint)
  16256.     = GXFORWARDGLUE;
  16257.  
  16258. æKY Forward_GXConvertPrintRecordFrom
  16259. æFc PrintingDrivers.h
  16260. æT function
  16261. æD
  16262. OSErr Forward_GXConvertPrintRecordFrom (THPrint)
  16263.     = GXFORWARDGLUE;
  16264.  
  16265. æKY Forward_GXPrintRecordToJob
  16266. æFc PrintingDrivers.h
  16267. æT function
  16268. æD
  16269. OSErr Forward_GXPrintRecordToJob (THPrint, gxJob)
  16270.     = GXFORWARDGLUE;
  16271.  
  16272. æKY gxRasterPlaneOptions
  16273.     gxDefaultOffscreen
  16274.     gxDontSetHalftone
  16275.     gxDotTypeIsDitherLevel
  16276. æFc PrintingDrivers.h
  16277. æT constant
  16278. æD
  16279. enum {                                        // bit fields in RasterPlaneOptions
  16280.     gxDefaultOffscreen         = 0x00000000,    // default value - bits are allocated for the client, halftoning takes place
  16281.     gxDontSetHalftone        = 0x00000001,    // don't call SetViewPortHalftone
  16282.     gxDotTypeIsDitherLevel    = 0x00000002    // call SetViewPortDither using the dotType as the level
  16283. };
  16284.  
  16285. typedef long gxRasterPlaneOptions;
  16286.  
  16287. æKY gxPlaneSetupRec
  16288. æFc PrintingDrivers.h
  16289. æT structure
  16290. æD
  16291. struct gxPlaneSetupRec{                            // input structure for setting up the offscreen
  16292.     gxRasterPlaneOptions        planeOptions;    // options for the offscreen package
  16293.     gxHalftone                    planeHalftone;    // OPTIONAL: halftone structure for this plane
  16294.     gxColorSpace                planeSpace;        // OPTIONAL: noSpace will get the graphics default
  16295.     gxColorSet                    planeSet;        // OPTIONAL: NIL gets the default
  16296.     gxColorProfile                planeProfile;    // OPTIONAL: NIL gets no matching
  16297. };
  16298.  
  16299. æKY gxOffscreenSetupRec
  16300. æFc PrintingDrivers.h
  16301. æT structure
  16302. æD
  16303. struct gxOffscreenSetupRec{
  16304.     short                 width;             // Width in pixels
  16305.     short                 minHeight;         // minimum height in pixels - actual height returned here
  16306.     short                maxHeight;        // maximum height in pixels
  16307.     Fixed                ramPercentage;    // maximum percentage of RAM to take
  16308.     long                ramSlop;        // amount of RAM to be sure to leave
  16309.     short                 depth;             // Depths in bits of each plane
  16310.     gxMapping            vpMapping;        // mapping to assign to offscreen viewPorts
  16311.     gxMapping            vdMapping;        // mapping to assign to offscreen viewDevices
  16312.     short                 planes;            // # of planes to allocate of depth bits each (can be more than 4)
  16313.     gxPlaneSetupRec    planeSetup[4];        // parameters for each plane, 4 is provided because it is most handy for writers of devices
  16314. };
  16315.  
  16316. æKY gxOffscreenPlaneRec
  16317. æFc PrintingDrivers.h
  16318. æT structure
  16319. æD
  16320. struct gxOffscreenPlaneRec{                // the format of one plane in the offscreen planar area
  16321.     gxViewPort            theViewPort;    // viewPort for the offscreen
  16322.     gxViewDevice        theDevice;        // viewDevice for the offscreen
  16323.     gxViewGroup            theViewGroup;    // the viewGroup that they share
  16324.     gxShape                theBitmap;        // the offscreen bitmap shape
  16325.     gxBitmap            theBits;        // the bits of the offscreen
  16326. };
  16327.  
  16328. æKY gxOffscreenRec
  16329.     gxOffscreenPtr
  16330.     gxOffscreenHdl
  16331. æFc PrintingDrivers.h
  16332. æT structure
  16333. æD
  16334. struct gxOffscreenRec{                        // an entire offscreen area
  16335.     short                numberOfPlanes;        // number of planes we have
  16336.     Handle                offscreenStorage;    // handle containing the bitmaps image data
  16337.     gxOffscreenPlaneRec    thePlanes[1];        // planes to draw in
  16338. };
  16339.  
  16340. typedef struct gxOffscreenRec gxOffscreenRec, *gxOffscreenPtr, **gxOffscreenHdl;
  16341.  
  16342. æKY gxDefaultRaster
  16343.     gxDontResolveTransferModes
  16344.     gxRenderInReverse
  16345.     gxOnePlaneAtATime
  16346.     gxSendAllBands
  16347.     gxRasterRenderOptions
  16348. æFc PrintingDrivers.h
  16349. æT structure
  16350. æD
  16351. enum {                                            // bit fields in RasterRenderOptions
  16352.     gxDefaultRaster                = 0x00000000,    // default raster options
  16353.     gxDontResolveTransferModes    = 0x00000001,    // 0=Resolve, 1=Don't Resolve
  16354.     gxRenderInReverse             = 0x00000002,    // traverse image in reverse order
  16355.     gxOnePlaneAtATime            = 0x00000004,    // render each plane separately
  16356.     gxSendAllBands                = 0x00000008    // send even empty bands
  16357. };
  16358.  
  16359. typedef long gxRasterRenderOptions;
  16360.  
  16361. æKY gxRasterPrefsRec
  16362.     gxRasterPrefsPtr
  16363.     gxRasterPrefsHdl
  16364. æFc PrintingDrivers.h
  16365. æT structure
  16366. æD
  16367. struct gxRasterPrefsRec{                    // structure of resource to control raster imaging
  16368.     gxRasterRenderOptions    renderOptions;    // options for the raster imaging system
  16369.     Fixed                    hImageRes;        // horizontal resolution to image at
  16370.     Fixed                    vImageRes;        // vertical resolution to image at
  16371.     short                    minBandSize;    // minimum band size to use (in pixels)
  16372.     short                    maxBandSize;    // maximum band size to use (in pixels), 0 == entire page
  16373.     Fixed                    ramPercentage;    // maximum percentage of RAM to take
  16374.     long                    ramSlop;        // amount of RAM to be sure to leave
  16375.     short                    depth;            // depth in pixels (PER PLANE!)
  16376.     short                    numPlanes;        // number of planes to render
  16377.     gxPlaneSetupRec            planeSetup[1];    // one for each plane
  16378. };
  16379.  
  16380. typedef struct gxRasterPrefsRec gxRasterPrefsRec, *gxRasterPrefsPtr, **gxRasterPrefsHdl;
  16381.  
  16382. æKY gxRasterPackageOptions
  16383.     gxRasterPackageRec
  16384.     gxRasterPackagePtr
  16385.     gxRasterPackageHdl
  16386.     gxUseColor
  16387. æFc PrintingDrivers.h
  16388. æT structure
  16389. æD
  16390. typedef long gxRasterPackageOptions;
  16391.  
  16392. enum {                                    // bit fields in RasterPackageOptions
  16393.     gxSendAllColors        = 0x00000001,                        // send even clean bands through
  16394.     gxInterlaceColor    = 0x00000002,                        // ribbon contamination is a concern
  16395.     gxOverlayColor        = 0x00000004,                        // color printer without a ribbon problem
  16396.     gxUseColor            = (gxInterlaceColor|gxOverlayColor)    // this is a color printer
  16397. };
  16398.  
  16399. struct gxRasterPackageRec{                    // resource to control the RasterDataIn message
  16400.     Ptr                        bufferSize;        // buffer size for packaging (>= maximum head pass size)
  16401.     short                    colorPasses;    // 1 (b/w) or 4 (CMYK) is typical
  16402.     short                     headHeight;        // printhead height in pixels
  16403.     short                     numberPasses;    // number of head passes it takes to == iHeadHeight
  16404.     short                    passOffset;        // offset between passes, in pixels
  16405.     gxRasterPackageOptions    packageOptions;    // packaging options
  16406. };
  16407.  
  16408. typedef struct gxRasterPackageRec gxRasterPackageRec, *gxRasterPackagePtr, **gxRasterPackageHdl;
  16409.  
  16410. æKY gxRasterPackageBitmapRec
  16411. æFc PrintingDrivers.h
  16412. æT structure
  16413. æD
  16414. struct gxRasterPackageBitmapRec{    // for RasterPackageBitmap message
  16415.     gxBitmap                *bitmapToPackage;    // bitmap containing the data to package
  16416.     unsigned short            startRaster;        // raster to begin the packaging from
  16417.     unsigned short            colorBand;            // for which color pass this is a packaging request
  16418.     Boolean                    isBandDirty;        // whether there are any dirty bits in this band
  16419.     Rect                    dirtyRect;            // which bits are dirty
  16420. };
  16421.  
  16422. æKY gxStandardNumberRec
  16423.     gxStandardNumberPtr
  16424. æFc PrintingDrivers.h
  16425. æT structure
  16426. æD
  16427. struct    gxStandardNumberRec{    // for outputing numbers
  16428.     short    numberType;            // type of numberic output desired
  16429.     short    minWidth;            // minimum output width of the number
  16430.     char    padChar;            // pad character for numbers shorter than the minWidth
  16431.     char    alignment;            // whee!
  16432.     Str31    startString;        // prefix string
  16433.     Str31    endString;            // postfix string
  16434. };
  16435.  
  16436. typedef struct gxStandardNumberRec gxStandardNumberRec, *gxStandardNumberPtr;
  16437.  
  16438. æKY gxRasterPackageControlsRec
  16439.     gxRasterPackageControlsPtr
  16440.     gxRasterPackageControlsHdl
  16441. æFc PrintingDrivers.h
  16442. æT structure
  16443. æD
  16444. struct gxRasterPackageControlsRec{                    // structure of resource to control other messages
  16445.     short                        startPageStringID;    // 'wstr' to send to the device at start of page
  16446.     short                        formFeedStringID;    // 'wstr' to send to the device to cause a form feed
  16447.     short                        forwardMax;            // line feed strings
  16448.     gxStandardNumberRec            forwardLineFeed;
  16449.     short                        reverseMax;
  16450.     gxStandardNumberRec            reverseLineFeed;
  16451. };
  16452.  
  16453. typedef struct gxRasterPackageControlsRec gxRasterPackageControlsRec, *gxRasterPackageControlsPtr, **gxRasterPackageControlsHdl;
  16454.  
  16455. æKY gxRasterImageDataRec
  16456.     gxRasterImageDataPtr
  16457.     gxRasterImageDataHdl
  16458. æFc PrintingDrivers.h
  16459. æT structure
  16460. æD
  16461. struct gxRasterImageDataRec{                        // raster imaging system imageData structure
  16462.  
  16463. // setup values
  16464.  
  16465.     gxRasterRenderOptions        renderOptions;        // options for the raster imaging system
  16466.     Fixed                        hImageRes;            // horizontal resolution to image at
  16467.     Fixed                        vImageRes;            // vertical resolution to image at
  16468.     short                        minBandSize;        // smallest band that makes sense for this device
  16469.     short                        maxBandSize;        // biggest band that makes sense, or 0 for "full page"
  16470.     gxRectangle                    pageSize;            // size of page for device
  16471.     
  16472. // values used within the RasterDataIn message
  16473.     
  16474.     short                        currentYPos;        // current position moving down the page
  16475.     gxRasterPackageRec            packagingInfo;        // raster packaging record
  16476.     
  16477. // values used within the remaining messages
  16478.     
  16479.     Boolean                        optionsValid;        // were options specified by the driver?
  16480.     gxRasterPackageControlsRec    packageControls;    // options for the packaging messages
  16481.  
  16482.     gxOffscreenSetupRec            theSetup;            // setup for the offscreen code, variable length componant
  16483. };
  16484.  
  16485. typedef struct gxRasterImageDataRec gxRasterImageDataRec, *gxRasterImageDataPtr, **gxRasterImageDataHdl;
  16486.  
  16487. æKY GXRASTERMSGGLUE
  16488. æFc PrintingDrivers.h
  16489. æT macro
  16490. æD
  16491. #define GXRASTERMSGGLUE(selector) SendMessageGlue(0x0001, selector)
  16492.  
  16493. æKY Send_GXRasterDataIn
  16494. æFc PrintingDrivers.h
  16495. æT function
  16496. æD
  16497. OSErr Send_GXRasterDataIn (gxOffscreenHdl, gxRectangle *bandRectangle,
  16498.                            gxRectangle *dirtyRectangle)
  16499.     = GXRASTERMSGGLUE(gxRasterDataIn);
  16500.  
  16501. æKY Forward_GXRasterDataIn
  16502. æFc PrintingDrivers.h
  16503. æT function
  16504. æD
  16505. OSErr Forward_GXRasterDataIn (gxOffscreenHdl, gxRectangle *bandRectangle,
  16506.                               gxRectangle *dirtyRectangle)
  16507.     = GXFORWARDGLUE;
  16508.  
  16509. æKY Send_GXRasterLineFeed
  16510. æFc PrintingDrivers.h
  16511. æT function
  16512. æD
  16513. OSErr Send_GXRasterLineFeed (short *lineFeedSize, Ptr buffer,
  16514.                              unsigned long *bufferPos, gxRasterImageDataHdl)
  16515.     = GXRASTERMSGGLUE(gxRasterLineFeed);
  16516.  
  16517. æKY Forward_GXRasterLineFeed
  16518. æFc PrintingDrivers.h
  16519. æT function
  16520. æD
  16521. OSErr Forward_GXRasterLineFeed (short *lineFeedSize, Ptr buffer,
  16522.                                 unsigned long *bufferPos, gxRasterImageDataHdl)
  16523.     = GXFORWARDGLUE;
  16524.  
  16525. æKY Send_GXRasterPackageBitmap
  16526. æFc PrintingDrivers.h
  16527. æT function
  16528. æD
  16529. OSErr Send_GXRasterPackageBitmap (gxRasterPackageBitmapRec *whatToPackage, Ptr buffer,
  16530.                                   unsigned long *bufferPos, gxRasterImageDataHdl)
  16531.     = GXRASTERMSGGLUE(gxRasterPackageBitmap);
  16532.  
  16533. æKY Forward_GXRasterPackageBitmap
  16534. æFc PrintingDrivers.h
  16535. æT function
  16536. æD
  16537. OSErr Forward_GXRasterPackageBitmap (gxRasterPackageBitmapRec *whatToPackage, Ptr buffer,
  16538.                                      unsigned long *bufferPos, gxRasterImageDataHdl)
  16539.     = GXFORWARDGLUE;
  16540.  
  16541. æKY gxColorSort
  16542.     gxATransferMode
  16543.     gxNoOverlap
  16544.     gxAColorBitmap
  16545.     gxSortbyPenPos
  16546.     gxPenLessPlotter
  16547.     gxCutterPlotter
  16548.     gxNoBackGround
  16549.     gxVectorRenderOptions
  16550. æFc PrintingDrivers.h
  16551. æT constant
  16552. æD
  16553. enum {                                // bit fields in VectorRenderOptions
  16554.     gxColorSort            = 0x00000001,    // set for pen plotters. 
  16555.     gxATransferMode        = 0x00000002,    // set if transfer modes need to be resolved 
  16556.     gxNoOverlap            = 0x00000004,    // set if non-overlapping output is desired
  16557.     gxAColorBitmap        = 0x00000008,    // set if color bitmap output is desired
  16558.     gxSortbyPenPos        = 0x00000010,    // set if shapes are to be drawn in the order of the pen index
  16559.                                                  // in the pen table. NOTE: this is not the pen position in the carousel.
  16560.     gxPenLessPlotter    = 0x00000020,    // indicates raster printer/plotter
  16561.     gxCutterPlotter        = 0x00000040,    // indicates cutter
  16562.     gxNoBackGround        = 0x00000080    // set if shapes that map to the background color should not be sent to driver 
  16563. };
  16564.  
  16565. typedef long gxVectorRenderOptions;
  16566.  
  16567. æKY gxUnidirectionalFill
  16568.     gxAlsoOutlineFilledShape
  16569.     gxVectorShapeOptions
  16570. æFc PrintingDrivers.h
  16571. æT constant
  16572. æD
  16573. enum {                                        // bit fields in gxVectorShapeOptions
  16574.     gxUnidirectionalFill            = 0x00000001,    // generate scanlines in one direction only.. useful for transparencies
  16575.     gxAlsoOutlineFilledShape    = 0x00000002    // turn on this bit to also outline solid filled shapes 
  16576. };
  16577.  
  16578. typedef long gxVectorShapeOptions;
  16579.  
  16580. æKY gxVHalftoneCompRec
  16581. æFc PrintingDrivers.h
  16582. æT structure
  16583. æD
  16584. struct gxVHalftoneCompRec{
  16585.     Fixed        angle;                // angle to halftone at. Must be 0, 90, 45 or 135
  16586.     long        penIndex;            // index of the pen to draw this component with
  16587. };
  16588.  
  16589. æKY gxVHalftoneRec
  16590. æFc PrintingDrivers.h
  16591. æT structure
  16592. æD
  16593. struct gxVHalftoneRec{
  16594.     gxColorSpace            halftoneSpace;
  16595.     gxVHalftoneCompRec        halftoneComps[4];    // info for each color component
  16596.     long                    penIndexForBW;        // pen index to draw one bit deep or black and white bitmap with
  16597. };
  16598.  
  16599. æKY gxVectorShapeDataRec
  16600. æFc PrintingDrivers.h
  16601. æT structure
  16602. æD
  16603. struct gxVectorShapeDataRec{
  16604.     gxVectorShapeOptions    shapeOptions;      // options to control shape handling
  16605.     long                    maxPolyPoints;     // maximum number of polygon points that device can support
  16606.     Fixed                    shapeError;        // defines allowed deviation from the original shape
  16607.     Fixed                    textSize;           // text above this size is filled; text below this size is outlined
  16608.     Fixed                    frameSize;        // frame's smaller than this -> shape stroked; frame's larger -> shape is filled
  16609. };
  16610.  
  16611. æKY gxVectorImageDataRec
  16612.     gxVectorImageDataPtr
  16613.     gxVectorImageDataHdl
  16614. æFc PrintingDrivers.h
  16615. æT structure
  16616. æD
  16617. struct gxVectorImageDataRec{                // vector imaging system imageData structure
  16618.     gxVectorRenderOptions    renderOptions;    // options to control rendering: color sort, clipping, etc.
  16619.     Fixed                    devRes;            // device resolution
  16620.     gxTransform                devTransform;    // mapping, clip and halftoning information for colored bitmaps
  16621.     gxColorSet                clrSet;            // entire set of colors; usually indexed color space for pen plotters
  16622.     gxColor                       bgColor;        // the background color in the color space specified by the clrSpace field
  16623.     gxVHalftoneRec            halftoneInfo;    // defines halftone information for color bitmaps
  16624.     gxPenTableHdl            hPenTable;        // complete list of pens along with their pen positions and thickness
  16625.     gxRectangle                pageRect;        // page dimensions
  16626.     gxVectorShapeDataRec    shapeData;        // information on how to render a shape
  16627. };
  16628.  
  16629. typedef struct gxVectorImageDataRec gxVectorImageDataRec, *gxVectorImageDataPtr, **gxVectorImageDataHdl;
  16630.  
  16631. æKY GXVECTORMSGGLUE
  16632. æFc PrintingDrivers.h
  16633. æT macro
  16634. æD
  16635. #define GXVECTORMSGGLUE(selector) SendMessageGlue(0x0001, selector)
  16636.  
  16637. æKY Send_GXVectorPackageShape
  16638. æFc PrintingDrivers.h
  16639. æT function
  16640. æD
  16641. OSErr Send_GXVectorPackageShape (gxShape, long penIndex)
  16642.     = GXVECTORMSGGLUE(gxVectorPackageData);
  16643.  
  16644. æKY Forward_GXVectorPackageShape
  16645. æFc PrintingDrivers.h
  16646. æT function
  16647. æD
  16648. OSErr Forward_GXVectorPackageShape (gxShape, long penIndex)
  16649.     = GXFORWARDGLUE;
  16650.  
  16651. æKY Send_GXVectorLoadPens
  16652. æFc PrintingDrivers.h
  16653. æT function
  16654. æD
  16655. OSErr Send_GXVectorLoadPens (gxPenTableHdl, long *shapeCounts, boolean *penTableChanged)
  16656.     = GXVECTORMSGGLUE(gxVectorLoadPens);
  16657.  
  16658. æKY Forward_GXVectorLoadPens
  16659. æFc PrintingDrivers.h
  16660. æT function
  16661. æD
  16662. OSErr Forward_GXVectorLoadPens (gxPenTableHdl, long *shapeCounts, boolean *penTableChanged)
  16663.     = GXFORWARDGLUE;
  16664.  
  16665. æKY Send_GXVectorVectorizeShape
  16666. æFc PrintingDrivers.h
  16667. æT function
  16668. æD
  16669. OSErr Send_GXVectorVectorizeShape (gxShape, long penIndex, gxVectorShapeDataRec *)
  16670.     = GXVECTORMSGGLUE(gxVectorVectorizeShape);
  16671.  
  16672. æKY Forward_GXVectorVectorizeShape
  16673. æFc PrintingDrivers.h
  16674. æT function
  16675. æD
  16676. OSErr Forward_GXVectorVectorizeShape (gxShape, long penIndex, gxVectorShapeDataRec *)
  16677.     = GXFORWARDGLUE;
  16678.  
  16679. æKY gxPostSynonym
  16680. æFc PrintingDrivers.h
  16681. æT constant
  16682. æD
  16683. enum { gxPostSynonym = (long)'post' };
  16684.  
  16685. æKY gxNeedsHexOption
  16686.     gxNeedsCommentsOption
  16687.     gxPortablePostScriptOption
  16688.     gxTextClipsToPathOption
  16689.     gxFlattenClipPathOption
  16690.     gxUseCharpath1Option
  16691.     gxUseLevel2ColorOption
  16692.     gxPostScriptRenderOptions
  16693. æFc PrintingDrivers.h
  16694. æT constant
  16695. æD
  16696. enum {                                             // bit fields in PostScriptRenderOptions
  16697.     gxNeedsHexOption            = 0x00000001,    // convert all binary data to hex
  16698.     gxNeedsCommentsOption        = 0x00000002,    // issue PostScript comments
  16699.     gxBoundingBoxesOption        = 0x00000004,    // calculate the values for %%BoundingBox: and %%PageBoundingBox: -- requires needsCommentsOption
  16700.     gxPortablePostScriptOption    = 0x00000008,    // generate portable PostScript
  16701.     gxTextClipsToPathOption        = 0x00000010,    // convert all clips that are composed of text to path shapes
  16702.     gxFlattenClipPathOption        = 0x00000020,    // convert all clips that are path shapes to polygons (helps better control point limit)
  16703.     gxUseCharpath1Option        = 0x00000040,    // (ignored if text clips are converted to paths)  When the clip is text, 
  16704.                                                 // do it one glyph at a time, redrawing the main shape each time
  16705.     gxUseLevel2ColorOption        = 0x00000080    // When printing to level-2 use level-2 device independent color
  16706. };
  16707.  
  16708. typedef long gxPostScriptRenderOptions;
  16709.  
  16710. æKY gxPrinterGlyphsRec
  16711. æFc PrintingDrivers.h
  16712. æT structure
  16713. æD
  16714. struct gxPrinterGlyphsRec{
  16715.  
  16716.     gxFont                theFont;        // ---> font reference.
  16717.     long                nGlyphs;        // ---> Number of glyphs in the font.
  16718.  
  16719.     gxFontPlatform        platform;        // <--- How printer font is encoded.
  16720.     gxFontScript        script;            // <--- Script if platform != glyphPlatform
  16721.     gxFontLanguage        language;        // <--- Language if platform != glyphPlatform.
  16722.     
  16723.     long                vmUsage;        // <--- how much PostScript VM font uses.
  16724.  
  16725.     /** size of this is longAlligned(nGlyphs) **/
  16726.     unsigned long        glyphBits[1];    // <--- Bit array of which system glyphs are in printer.
  16727.  
  16728. };
  16729.  
  16730. æKY gxPostScriptImageDataRec
  16731.     gxPostScriptImageDataPtr
  16732.     gxPostScriptImageDataHdl
  16733. æFc PrintingDrivers.h
  16734. æT structure
  16735. æD
  16736. struct gxPostScriptImageDataRec{        // PostScript imaging system imageData structure
  16737.     short                        languageLevel;    // PostScript language level
  16738.     gxColorSpace                devCSpace;        // the printer's color space
  16739.     gxColorProfile                devCProfile;    // The printer's color profile for matching
  16740.     gxPostScriptRenderOptions    renderOptions;    // options for the imaging system
  16741.     long                        pathLimit;        // maximum path size
  16742.     short                        gsaveLimit;        // maximum number of gsaves allowed
  16743.     short                        opStackLimit;    // operand stack limit
  16744.     scalerStreamTypeFlag        fontType;        // these are the font types that the printer supports 
  16745.     long                        printerVM;        // how much memory is in the printer
  16746.     long                        reserved0;
  16747. };
  16748.  
  16749. typedef struct gxPostScriptImageDataRec gxPostScriptImageDataRec, *gxPostScriptImageDataPtr, **gxPostScriptImageDataHdl;
  16750.  
  16751. æKY gxProcSetListRec
  16752.     gxProcSetListPtr
  16753.     gxProcSetListHdl
  16754. æFc PrintingDrivers.h
  16755. æT structure
  16756. æD
  16757. struct    gxProcSetListRec{        // for GetProcSetList / DownLoadProcSetList messages
  16758.     Signature    clientid;
  16759.     OSType        controlType;    // the driver will call FetchTaggedData on each of these resources
  16760.     short        controlid;
  16761.     OSType        dataType;
  16762.     long        reserved0;
  16763. };
  16764.  
  16765. typedef struct gxProcSetListRec gxProcSetListRec, *gxProcSetListPtr, **gxProcSetListHdl;
  16766.  
  16767. æKY gxPrinterOK
  16768.     gxIntializePrinter
  16769.     gxFilePrinting
  16770.     gxResetPrinter
  16771. æFc PrintingDrivers.h
  16772. æT constant
  16773. æD
  16774. enum {             // possible results of querying printer (returned by PostScriptQueryPrinter message)
  16775.     gxPrinterOK            = 0,
  16776.     gxIntializePrinter    = 1, 
  16777.     gxFilePrinting        = 2,
  16778.     gxResetPrinter         = 128
  16779. };
  16780.  
  16781. æKY GXPOSTSCRIPTMSGGLUE
  16782. æFc PrintingDrivers.h
  16783. æT macro
  16784. æD
  16785. #define GXPOSTSCRIPTMSGGLUE(selector) SendMessageGlue(0x0001, selector)
  16786.  
  16787. æKY Send_GXPostScriptQueryPrinter
  16788. æFc PrintingDrivers.h
  16789. æT function
  16790. æD
  16791. OSErr Send_GXPostScriptQueryPrinter (long *)
  16792.     = GXPOSTSCRIPTMSGGLUE(gxPostscriptQueryPrinter);
  16793.  
  16794. æKY Forward_GXPostScriptQueryPrinter
  16795. æFc PrintingDrivers.h
  16796. æT function
  16797. æD
  16798. OSErr Forward_GXPostScriptQueryPrinter (long *)
  16799.     = GXFORWARDGLUE;
  16800.  
  16801. æKY Send_GXPostScriptInitializePrinter
  16802. æFc PrintingDrivers.h
  16803. æT function
  16804. æD
  16805. OSErr Send_GXPostScriptInitializePrinter (void)
  16806.     = GXPOSTSCRIPTMSGGLUE(gxPostscriptInitializePrinter);
  16807.  
  16808. æKY Forward_GXPostScriptInitializePrinter
  16809. æFc PrintingDrivers.h
  16810. æT function
  16811. æD
  16812. OSErr Forward_GXPostScriptInitializePrinter (void)
  16813.     = GXFORWARDGLUE;
  16814.  
  16815. æKY Send_GXPostScriptResetPrinter
  16816. æFc PrintingDrivers.h
  16817. æT function
  16818. æD
  16819. OSErr Send_GXPostScriptResetPrinter (void)
  16820.     = GXPOSTSCRIPTMSGGLUE(gxPostscriptResetPrinter);
  16821.  
  16822. æKY Forward_GXPostScriptResetPrinter
  16823. æFc PrintingDrivers.h
  16824. æT function
  16825. æD
  16826. OSErr Forward_GXPostScriptResetPrinter (void)
  16827.     = GXFORWARDGLUE;
  16828.  
  16829. æKY Send_GXPostScriptExitServer
  16830. æFc PrintingDrivers.h
  16831. æT function
  16832. æD
  16833. OSErr Send_GXPostScriptExitServer (void)
  16834.     = GXPOSTSCRIPTMSGGLUE(gxPostscriptExitServer);
  16835.  
  16836. æKY Forward_GXPostScriptExitServer
  16837. æFc PrintingDrivers.h
  16838. æT function
  16839. æD
  16840. OSErr Forward_GXPostScriptExitServer (void)
  16841.     = GXFORWARDGLUE;
  16842.  
  16843. æKY Send_GXPostScriptGetStatusText
  16844. æFc PrintingDrivers.h
  16845. æT function
  16846. æD
  16847. OSErr Send_GXPostScriptGetStatusText (Handle)
  16848.     = GXPOSTSCRIPTMSGGLUE(gxPostscriptGetStatusText);
  16849.  
  16850. æKY Forward_GXPostScriptGetStatusText
  16851. æFc PrintingDrivers.h
  16852. æT function
  16853. æD
  16854. OSErr Forward_GXPostScriptGetStatusText (Handle)
  16855.     = GXFORWARDGLUE;
  16856.  
  16857. æKY Send_GXPostScriptGetPrinterText
  16858. æFc PrintingDrivers.h
  16859. æT function
  16860. æD
  16861. OSErr Send_GXPostScriptGetPrinterText (Handle)
  16862.     = GXPOSTSCRIPTMSGGLUE(gxPostscriptGetPrinterText);
  16863.  
  16864. æKY Forward_GXPostScriptGetPrinterText
  16865. æFc PrintingDrivers.h
  16866. æT function
  16867. æD
  16868. OSErr Forward_GXPostScriptGetPrinterText (Handle)
  16869.     = GXFORWARDGLUE;
  16870.  
  16871. æKY Send_GXPostScriptScanStatusText
  16872. æFc PrintingDrivers.h
  16873. æT function
  16874. æD
  16875. OSErr Send_GXPostScriptScanStatusText (Handle)
  16876.     = GXPOSTSCRIPTMSGGLUE(gxPostscriptScanStatusText);
  16877.  
  16878. æKY Forward_GXPostScriptScanStatusText
  16879. æFc PrintingDrivers.h
  16880. æT function
  16881. æD
  16882. OSErr Forward_GXPostScriptScanStatusText (Handle)
  16883.     = GXFORWARDGLUE;
  16884.  
  16885. æKY Send_GXPostScriptScanPrinterText
  16886. æFc PrintingDrivers.h
  16887. æT function
  16888. æD
  16889. OSErr Send_GXPostScriptScanPrinterText (Handle)
  16890.     = GXPOSTSCRIPTMSGGLUE(gxPostscriptScanPrinterText);
  16891.  
  16892. æKY Forward_GXPostScriptScanPrinterText
  16893. æFc PrintingDrivers.h
  16894. æT function
  16895. æD
  16896. OSErr Forward_GXPostScriptScanPrinterText (Handle)
  16897.     = GXFORWARDGLUE;
  16898.  
  16899. æKY Send_GXPostScriptGetDocumentProcSetList
  16900. æFc PrintingDrivers.h
  16901. æT function
  16902. æD
  16903. OSErr Send_GXPostScriptGetDocumentProcSetList (gxProcSetListHdl, gxPostScriptImageDataHdl)
  16904.     = GXPOSTSCRIPTMSGGLUE(gxPostscriptGetDocumentProcSetList);
  16905.  
  16906. æKY Forward_GXPostScriptGetDocumentProcSetList
  16907. æFc PrintingDrivers.h
  16908. æT function
  16909. æD
  16910. OSErr Forward_GXPostScriptGetDocumentProcSetList (gxProcSetListHdl, gxPostScriptImageDataHdl)
  16911.     = GXFORWARDGLUE;
  16912.  
  16913. æKY Send_GXPostScriptDownloadProcSetList
  16914. æFc PrintingDrivers.h
  16915. æT function
  16916. æD
  16917. OSErr Send_GXPostScriptDownloadProcSetList (gxProcSetListHdl, gxPostScriptImageDataHdl)
  16918.     = GXPOSTSCRIPTMSGGLUE(gxPostscriptDownloadProcSetList);
  16919.  
  16920. æKY Forward_GXPostScriptDownloadProcSetList
  16921. æFc PrintingDrivers.h
  16922. æT function
  16923. æD
  16924. OSErr Forward_GXPostScriptDownloadProcSetList (gxProcSetListHdl, gxPostScriptImageDataHdl)
  16925.     = GXFORWARDGLUE;
  16926.  
  16927. æKY Send_GXPostScriptGetPrinterGlyphsInformation
  16928. æFc PrintingDrivers.h
  16929. æT function
  16930. æD
  16931. OSErr Send_GXPostScriptGetPrinterGlyphsInformation (gxPrinterGlyphsRec *)
  16932.     = GXPOSTSCRIPTMSGGLUE(gxPostscriptGetPrinterGlyphsInformation);
  16933.  
  16934. æKY Forward_GXPostScriptGetPrinterGlyphsInformation
  16935. æFc PrintingDrivers.h
  16936. æT function
  16937. æD
  16938. OSErr Forward_GXPostScriptGetPrinterGlyphsInformation (gxPrinterGlyphsRec *)
  16939.     = GXFORWARDGLUE;
  16940.  
  16941. æKY Send_GXPostScriptStreamFont
  16942. æFc PrintingDrivers.h
  16943. æT function
  16944. æD
  16945. OSErr Send_GXPostScriptStreamFont (gxFont fontref, scalerStream* streamPtr)
  16946.     = GXPOSTSCRIPTMSGGLUE(gxPostscriptStreamFont);
  16947.  
  16948. æKY Forward_GXPostScriptPostScriptStreamFont
  16949. æFc PrintingDrivers.h
  16950. æT function
  16951. æD
  16952. OSErr Forward_GXPostScriptPostScriptStreamFont (gxFont fontref, scalerStream* streamPtr)
  16953.     = GXFORWARDGLUE;
  16954.  
  16955. æKY Send_GXPostScriptDoDocumentHeader
  16956. æFc PrintingDrivers.h
  16957. æT function
  16958. æD
  16959. OSErr Send_GXPostScriptDoDocumentHeader (gxPostScriptImageDataHdl)
  16960.     = GXPOSTSCRIPTMSGGLUE(gxPostscriptDoDocumentHeader);
  16961.  
  16962. æKY Forward_GXPostScriptDoDocumentHeader
  16963. æFc PrintingDrivers.h
  16964. æT function
  16965. æD
  16966. OSErr Forward_GXPostScriptDoDocumentHeader (gxPostScriptImageDataHdl)
  16967.     = GXFORWARDGLUE;
  16968.  
  16969. æKY Send_GXPostScriptDoDocumentSetup
  16970. æFc PrintingDrivers.h
  16971. æT function
  16972. æD
  16973. OSErr Send_GXPostScriptDoDocumentSetup (gxPostScriptImageDataHdl)
  16974.     = GXPOSTSCRIPTMSGGLUE(gxPostscriptDoDocumentSetUp);
  16975.  
  16976. æKY Forward_GXPostScriptDoDocumentSetup
  16977. æFc PrintingDrivers.h
  16978. æT function
  16979. æD
  16980. OSErr Forward_GXPostScriptDoDocumentSetup (gxPostScriptImageDataHdl)
  16981.     = GXFORWARDGLUE;
  16982.  
  16983. æKY Send_GXPostScriptDoDocumentTrailer
  16984. æFc PrintingDrivers.h
  16985. æT function
  16986. æD
  16987. OSErr Send_GXPostScriptDoDocumentTrailer (gxPostScriptImageDataHdl)
  16988.     = GXPOSTSCRIPTMSGGLUE(gxPostscriptDoDocumentTrailer);
  16989.  
  16990. æKY Forward_GXPostScriptDoDocumentTrailer
  16991. æFc PrintingDrivers.h
  16992. æT function
  16993. æD
  16994. OSErr Forward_GXPostScriptDoDocumentTrailer (gxPostScriptImageDataHdl)
  16995.     = GXFORWARDGLUE;
  16996.  
  16997. æKY Send_GXPostScriptDoPageSetup
  16998. æFc PrintingDrivers.h
  16999. æT function
  17000. æD
  17001. OSErr Send_GXPostScriptDoPageSetup (gxFormat, long, gxPostScriptImageDataHdl)
  17002.     = GXPOSTSCRIPTMSGGLUE(gxPostscriptDoPageSetUp);
  17003.  
  17004. æKY Forward_GXPostScriptDoPageSetup
  17005. æFc PrintingDrivers.h
  17006. æT function
  17007. æD
  17008. OSErr Forward_GXPostScriptDoPageSetup (gxFormat, long, gxPostScriptImageDataHdl)
  17009.     = GXFORWARDGLUE;
  17010.  
  17011. æKY Send_GXPostScriptSelectPaperType
  17012. æFc PrintingDrivers.h
  17013. æT function
  17014. æD
  17015. OSErr Send_GXPostScriptSelectPaperType (gxPaperType, long, gxPostScriptImageDataHdl)
  17016.     = GXPOSTSCRIPTMSGGLUE(gxPostscriptSelectPaperType);
  17017.  
  17018. æKY Forward_GXPostScriptSelectPaperType
  17019. æFc PrintingDrivers.h
  17020. æT function
  17021. æD
  17022. OSErr Forward_GXPostScriptSelectPaperType (gxPaperType, long, gxPostScriptImageDataHdl)
  17023.     = GXFORWARDGLUE;
  17024.  
  17025. æKY Send_GXPostScriptDoPageTrailer
  17026. æFc PrintingDrivers.h
  17027. æT function
  17028. æD
  17029. OSErr Send_GXPostScriptDoPageTrailer (gxPostScriptImageDataHdl)
  17030.     = GXPOSTSCRIPTMSGGLUE(gxPostscriptDoPageTrailer);
  17031.  
  17032. æKY Forward_GXPostScriptDoPageTrailer
  17033. æFc PrintingDrivers.h
  17034. æT function
  17035. æD
  17036. OSErr Forward_GXPostScriptDoPageTrailer (gxPostScriptImageDataHdl)
  17037.     = GXFORWARDGLUE;
  17038.  
  17039. æKY Send_GXPostScriptEjectPage
  17040. æFc PrintingDrivers.h
  17041. æT function
  17042. æD
  17043. OSErr Send_GXPostScriptEjectPage (gxPaperType, long pagenumber, long copiescount, short erasepage, gxPostScriptImageDataHdl)
  17044.     = GXPOSTSCRIPTMSGGLUE(gxPostscriptEjectPage);
  17045.  
  17046. æKY Forward_GXPostScriptEjectPage
  17047. æFc PrintingDrivers.h
  17048. æT function
  17049. æD
  17050. OSErr Forward_GXPostScriptEjectPage (gxPaperType, long pagenumber, long copiescount, short erasepage, gxPostScriptImageDataHdl)
  17051.     = GXFORWARDGLUE;
  17052.  
  17053. æKY Send_GXPostScriptProcessShape
  17054. æFc PrintingDrivers.h
  17055. æT function
  17056. æD
  17057. OSErr Send_GXPostScriptProcessShape (gxShape page,long trcount, gxTransform trlist[])
  17058.     = GXPOSTSCRIPTMSGGLUE(gxPostscriptProcessShape);
  17059.  
  17060. æKY Forward_GXPostScriptProcessShape
  17061. æFc PrintingDrivers.h
  17062. æT function
  17063. æD
  17064. OSErr Forward_GXPostScriptProcessShape (gxShape page,long trcount, gxTransform trlist[])
  17065.     = GXFORWARDGLUE;
  17066.  
  17067. æKY gxMissingImagePointer
  17068. æFc PrintingDrivers.h
  17069. æT constant
  17070. æD
  17071. enum {
  17072.     gxMissingImagePointer = -4    // for printer gxViewDevice bitmaps
  17073. };
  17074.  
  17075. æKY GXDRIVERAPIGLUE
  17076. æFc PrintingDrivers.h
  17077. æT macro
  17078. æD
  17079. #define GXDRIVERAPIGLUE(selector) {0x203C, 0x0002, selector, 0xABFE}
  17080.  
  17081. æKY GXAddPrinterViewDevice
  17082. æFc PrintingDrivers.h
  17083. æT function
  17084. æD
  17085. OSErr GXAddPrinterViewDevice (gxPrinter, gxViewDevice)
  17086.     = GXDRIVERAPIGLUE(0);
  17087.  
  17088. æKY GXGetAvailableJobFormatModes
  17089. æFc PrintingDrivers.h
  17090. æT function
  17091. æD
  17092. OSErr GXGetAvailableJobFormatModes (gxJobFormatModeTableHdl *)
  17093.     = GXDRIVERAPIGLUE(1);
  17094.  
  17095. æKY GXSetPreferredJobFormatMode
  17096. æFc PrintingDrivers.h
  17097. æT function
  17098. æD
  17099. OSErr GXSetPreferredJobFormatMode (gxJobFormatMode, Boolean directOnly)
  17100.     = GXDRIVERAPIGLUE(2);
  17101.  
  17102. æKY GXPrintingAlert
  17103. æFc PrintingDrivers.h
  17104. æT function
  17105. æD
  17106. OSErr GXPrintingAlert (short iconId,
  17107.                       short txtSize,
  17108.                       short defaultTitleNum,
  17109.                       short cancelTitleNum,
  17110.                       short textLength,
  17111.                       Ptr pAlertMsg,
  17112.                       StringPtr actionTitle,
  17113.                       StringPtr title2,
  17114.                       StringPtr title3,
  17115.                       StringPtr msgFont,
  17116.                       ModalFilterProcPtr filterProc,
  17117.                       short *itemHit,
  17118.                       StringPtr    alertTitle)
  17119.     = GXDRIVERAPIGLUE(3);
  17120.  
  17121. æKY GXGetPrintingAlert
  17122. æFc PrintingDrivers.h
  17123. æT function
  17124. æD
  17125. OSErr GXGetPrintingAlert (short alertResId, ModalFilterProcPtr, short *itemHit) 
  17126.     = GXDRIVERAPIGLUE(4);
  17127.  
  17128. æKY GXFetchDTPData
  17129. æFc PrintingDrivers.h
  17130. æT function
  17131. æD
  17132. OSErr GXFetchDTPData (Str31 dtpName, OSType theType, short theID, Handle *theData)
  17133.     = GXDRIVERAPIGLUE(5);
  17134.  
  17135. æKY GXWriteDTPData
  17136. æFc PrintingDrivers.h
  17137. æT function
  17138. æD
  17139. OSErr GXWriteDTPData (Str31 dtpName, OSType theType, short theID, Handle theData)
  17140.     = GXDRIVERAPIGLUE(6);
  17141.  
  17142. æKY GXHandleChooserMessage
  17143. æFc PrintingDrivers.h
  17144. æT function
  17145. æD
  17146. OSErr GXHandleChooserMessage (gxJob *aJob, Str31 driverName, short message, short caller, 
  17147.                               StringPtr objName, StringPtr zoneName, ListHandle theList,
  17148.                               long p2)
  17149.     = GXDRIVERAPIGLUE(7);
  17150.  
  17151. æKY gxSpoolFile
  17152.     gxPrivateFileRecord
  17153. æFc PrintingMessages.h
  17154. æT structure
  17155. æD
  17156. typedef struct gxPrivateFileRecord *gxSpoolFile;
  17157.  
  17158. æKY gxPanelNoEvt
  17159.     gxPanelOpenEvt
  17160.     gxPanelCloseEvt
  17161.     gxPanelHitEvt
  17162.     gxPanelActivateEvt
  17163.     gxPanelDeactivateEvt
  17164.     gxPanelIconFocusEvt
  17165.     gxPanelPanelFocusEvt
  17166.     gxPanelFilterEvt
  17167.     gxPanelCancelEvt
  17168.     gxPanelConfirmEvt
  17169.     gxPanelDialogEvt
  17170.     gxPanelOtherEvt
  17171.     gxPanelUserWillConfirmEvt
  17172.     gxPanelEvent
  17173. æFc PrintingMessages.h
  17174. æT constant
  17175. æD
  17176. enum  {            // dialog panel events
  17177.  
  17178.     gxPanelNoEvt                 = (gxPanelEvent) 0,
  17179.     gxPanelOpenEvt                 = (gxPanelEvent) 1,            // initialize and draw
  17180.     gxPanelCloseEvt             = (gxPanelEvent) 2,            // your panel is going away ( panel switch, confirm or cancel )
  17181.     gxPanelHitEvt                = (gxPanelEvent) 3,            // there's a hit in your panel
  17182.     gxPanelActivateEvt            = (gxPanelEvent) 4,            // the dialog window has just been activated
  17183.     gxPanelDeactivateEvt         = (gxPanelEvent) 5,            // the dialog window is about to be deactivated
  17184.     gxPanelIconFocusEvt         = (gxPanelEvent) 6,            // the focus changes from the panel to the icon list
  17185.     gxPanelPanelFocusEvt         = (gxPanelEvent) 7,            // the focus changes from the icon list to the panel
  17186.     gxPanelFilterEvt            = (gxPanelEvent) 8,            // this is called to filter every event
  17187.     gxPanelCancelEvt            = (gxPanelEvent) 9,            // the user has cancelled the dialog
  17188.     gxPanelConfirmEvt            = (gxPanelEvent) 10,        // the user has confirmed the dialog
  17189.     gxPanelDialogEvt            = (gxPanelEvent) 11,        // event to be handle by dialoghandler ( you get to see all events )
  17190.     gxPanelOtherEvt                = (gxPanelEvent) 12,        // osEvts, etc.
  17191.     gxPanelUserWillConfirmEvt    = (gxPanelEvent) 13            // user has selected confirm, time to parse panel interdependencies
  17192. };
  17193.  
  17194. typedef long gxPanelEvent;
  17195.  
  17196. æKY gxPanelNoResult
  17197.     gxPanelCancelConfirmation
  17198.     gxPanelResult
  17199. æFc PrintingMessages.h
  17200. æT constant
  17201. æD
  17202. enum {    // possible panel responses to dialog handler calls
  17203.  
  17204.     gxPanelNoResult                 = 0,
  17205.     gxPanelCancelConfirmation     = 1    // only valid from gxPanelUserWillConfirmEvt - used to keep the dialog from going away
  17206. };
  17207.  
  17208. typedef long gxPanelResult;
  17209.  
  17210. æKY gxOtherAction
  17211.     gxClosePanelAction
  17212.     gxCancelDialogAction
  17213.     gxConfirmDialogAction
  17214. æFc PrintingMessages.h
  17215. æT constant
  17216. æD
  17217. enum {    // values for the evtAction field in PanelInfoRecord
  17218.  
  17219.     gxOtherAction                 = 0,            // current item will not change
  17220.     gxClosePanelAction            = 1,            // panel will be closed
  17221.     gxCancelDialogAction        = 2,            // dialog will be cancelled
  17222.     gxConfirmDialogAction        = 3                // dialog will be confirmed
  17223. };
  17224.  
  17225. æKY gxPanelInfoRecord
  17226. æFc PrintingMessages.h
  17227. æT structure
  17228. æD
  17229. struct gxPanelInfoRecord{            // for FilterPanelEvent and HandlePanelEvent messages
  17230.     gxPanelEvent     panelEvt;        // why we're calling
  17231.     short             panelResId;        // 'ppnl' resource id of current panel
  17232.     DialogPtr         pDlg;            // pointer to dialog
  17233.     EventRecord     *theEvent;        // pointer to event
  17234.     short             itemHit;        // actual item number as dialog mgr thinks
  17235.     short             itemCount;        // number of items before your items
  17236.     short            evtAction;        // once this event is processed, the action that will result
  17237.                                     // (only meaningful in filtering, used for parsing)
  17238.     short            errorStringId;    // STR id of string to put in error alert (0 means no string)
  17239.     gxFormat        theFormat;        // the current format (only meaningful in a format dialog)
  17240.     void            *refCon;        // refCon passed in PanelSetupRecord
  17241. };
  17242.  
  17243. æKY gxApplicationPanel
  17244.     gxExtensionPanel
  17245.     gxPrintingPanelKind
  17246. æFc PrintingMessages.h
  17247. æT constant
  17248. æD
  17249. enum {
  17250.     gxApplicationPanel     = (gxPrintingPanelKind) 0,
  17251.     gxExtensionPanel    = (gxPrintingPanelKind) 1,
  17252.     gxDriverPanel        = (gxPrintingPanelKind) 2
  17253. };
  17254.  
  17255. typedef long gxPrintingPanelKind;
  17256.  
  17257. æKY gxPanelSetupRecord
  17258. æFc PrintingMessages.h
  17259. æT structure
  17260. æD
  17261. struct gxPanelSetupRecord{
  17262.     gxPrintingPanelKind        panelKind;
  17263.     short                     panelResId;
  17264.     short                     resourceRefNum;
  17265.     void                    *refCon;
  17266. };
  17267.  
  17268. æC
  17269.  
  17270. The gxPanelSetupInfo structure is passed to the dialog handler
  17271. when the client calls to setup panels for the dialog.
  17272.  
  17273. æKY gxRangeNotParsed
  17274.     gxRangeParsed
  17275.     gxRangeBadFromValue
  17276.     gxRangeBadToValue
  17277.     gxParsePageRangeResult
  17278. æFc PrintingMessages.h
  17279. æT constant
  17280. æD
  17281. enum {    // returned by gxParsePageRange message.
  17282.  
  17283.     gxRangeNotParsed        = (gxParsePageRangeResult) 0, // default initial value
  17284.     gxRangeParsed            = (gxParsePageRangeResult) 1,
  17285.     gxRangeBadFromValue        = (gxParsePageRangeResult) 2,
  17286.     gxRangeBadToValue        = (gxParsePageRangeResult) 3
  17287. };
  17288.  
  17289. typedef long gxParsePageRangeResult;
  17290.  
  17291. æKY gxNonFatalError
  17292.     gxFatalError
  17293.     gxPrinterReady
  17294.     gxUserAttention
  17295.     gxUserAlert
  17296.     gxPageTransmission
  17297.     gxOpenConnectionStatus
  17298.     gxInformationalStatus
  17299.     gxSpoolingPageStatus
  17300.     gxEndStatus
  17301.     gxPercentageStatus
  17302. æFc PrintingMessages.h
  17303. æT constant
  17304. æD
  17305. enum {
  17306.     gxNonFatalError = 1,        // effects icon on spooling dialog
  17307.     gxFatalError = 2,            // sends up printing alert on spooling dialog
  17308.     gxPrinterReady = 3,            // signals GX to leave alert mode
  17309.     gxUserAttention = 4,        // signals initiation of a modal alert
  17310.     gxUserAlert = 5,            // signals initiation of a moveable modal alert
  17311.     gxPageTransmission = 6,        // signals page sent to printer, increments page count in strings to user
  17312.     gxOpenConnectionStatus = 7,    // signals GX to begin animation on printer icon
  17313.     gxInformationalStatus = 8,    // default status type, no side effects
  17314.     gxSpoolingPageStatus = 9,    // signals page spooled, increments page count in spooling dialog
  17315.     gxEndStatus = 10,            // signals end of spooling
  17316.     gxPercentageStatus = 11        // signals the GX as to the amount of the job which is currently complete
  17317. };
  17318.  
  17319. æC
  17320.  
  17321. Status type ids for gxStatusRecord structure
  17322.  
  17323. æKY gxStatusRecord
  17324. æFc PrintingMessages.h
  17325. æT structure
  17326. æD
  17327. struct gxStatusRecord{                    // for status messages
  17328.     unsigned short        statusType;        // one of the ids listed above ( nonFatalError, etc. )
  17329.     unsigned short        statusId;        // specific status ( out of paper, etc. ) - To be defined
  17330.     unsigned short        statusAlertId;    //    printing alert id (if any) for status
  17331.     Signature            statusOwner;    // creator type of status owner
  17332.     short                statResId;        // id for 'stat' resource
  17333.     short                statResIndex;    // index into 'stat' resource for this status
  17334.     short                dialogResult;    // id of button string selected on dismissal of printing alert
  17335.     unsigned short        bufferLen;        // number of bytes in status buffer - total record size must be <= 512
  17336.     char                statusBuffer[1];// user response from alert
  17337. };
  17338.  
  17339. æKY gxDisplayRecord
  17340. æFc PrintingMessages.h
  17341. æT structure
  17342. æD
  17343. struct gxDisplayRecord{                            
  17344.     Boolean            useText;
  17345.     Handle            hPicture;
  17346.     Str255            theText;
  17347. };
  17348.  
  17349. æC
  17350.  
  17351. For gxWriteStatusToDTPWindow message
  17352.  
  17353. æKY gxDefaultTrayMapping
  17354.     gxConfiguredTrayMapping
  17355.     gxTrayMapping
  17356. æFc PrintingMessages.h
  17357. æT constant
  17358. æD
  17359. enum {
  17360.     gxDefaultTrayMapping        = (gxTrayMapping) 0,
  17361.     gxConfiguredTrayMapping        = (gxTrayMapping) 1
  17362. };
  17363.  
  17364. typedef long gxTrayMapping;
  17365.  
  17366. æKY GXPROTECTEDAPIGLUE
  17367. æFc PrintingMessages.h
  17368. æT macro
  17369. æD
  17370. #define GXPROTECTEDAPIGLUE(selector) {0x203C, 0x0001, selector, 0xABFE}
  17371.  
  17372. æKY GXPRINTINGDISPATCH
  17373. æFc PrintingMessages.h
  17374. æT macro
  17375. æD
  17376. #define GXPRINTINGDISPATCH(segID, selector) {0x203C, 0x0001, 0, 0x223C, (segID & 0x0FFF), selector << 2, 0xABFE}
  17377.  
  17378. OSErr GXPrintingDispatch (long selector, ...)
  17379.     = GXPROTECTEDAPIGLUE(0);
  17380.  
  17381. æC
  17382.  
  17383. How to use the GXPRINTINGDISPATCH macro...
  17384.  
  17385. If your driver or extension is large, you may want to segment it
  17386. across smaller boundaries than is permitted by the messaging system.
  17387. Without using the Printing Manager's segmentation manager directly,
  17388. the smallest segment you can create consists of the code to override
  17389. a single message.  If you are overriding workhorse messages such as
  17390. RenderPage, you may want to divide up the work among many functions
  17391. distributed across several segments.  Here's how...
  17392.  
  17393. The Printing Manager segment scheme involves the construction of a
  17394. single 32-bit dispatch selector, which contains all the information
  17395. necessary for the dispatcher to find a single routine.  It contains the
  17396. segment's resource ID, and the offset within the segment which contains
  17397. the start of the routine.  The GXPRINTINGDISPATCH macro will construct the
  17398. dispatch selector for you, as well as the code to do the dispatch.
  17399.  
  17400. Usually, it is convenient to start your segment with a long aligned jump table,
  17401. beginning after the 4 byte header required by the Printing Manager.  The
  17402. macro assumes this is the case and takes a 1-based routine selector from
  17403. which it conmstructs the offset.
  17404.  
  17405. For example, if your code is in resource 'pdvr' (print driver), ID=2
  17406. at offset=12 (third routine in segment), you would declare your
  17407. routine as follows:
  17408.  
  17409. OSErr MyRenderingRoutine (long param1, Ptr param2)
  17410.     = GXPRINTINGDISPATCH(2, 3);
  17411.     
  17412. Remember, ALL segment dispatches must return OSErr.  If your routine
  17413. does not generate errors, you must still declare it to return OSErr
  17414. and have the routine itself return noErr.
  17415.  
  17416. An alternative way to call across segments is to call the GXPrintingDispatch
  17417. function directly.  You must construct the 32-bit selector yourself and pass
  17418. it as the first parameter.  This is usually not preferable since you don't get
  17419. type-checking unless you declare a prototype as shown above, and your code
  17420. isn't as easy to read.
  17421.  
  17422. So given the above prototype, there are two ways to call the function:
  17423.  
  17424.     // free type checking!
  17425.     anErr = MyRenderingRoutine(p1, p2);
  17426.     
  17427. or:
  17428.  
  17429.     #define kMyRenderRoutineSelector 0x0002000C
  17430.  
  17431.     // no type-checking!
  17432.     anErr = GXPrintingDispatch(kMyRenderRoutineSelector, p1, p2);
  17433.  
  17434. Both have the same effect.
  17435.  
  17436. æKY GXGetJob
  17437. æFc PrintingMessages.h
  17438. æT function
  17439. æD
  17440. gxJob GXGetJob (void)
  17441.     = GXPROTECTEDAPIGLUE(1);
  17442.  
  17443. æKY GXGetMessageHandlerResFile
  17444. æFc PrintingMessages.h
  17445. æT function
  17446. æD
  17447. short GXGetMessageHandlerResFile (void)
  17448.     = GXPROTECTEDAPIGLUE(2);
  17449.  
  17450. æKY GXSpoolingAborted
  17451. æFc PrintingMessages.h
  17452. æT function
  17453. æD
  17454. Boolean GXSpoolingAborted (void)
  17455.     = GXPROTECTEDAPIGLUE(3);
  17456.  
  17457. æKY GXJobIdle
  17458. æFc PrintingMessages.h
  17459. æT function
  17460. æD
  17461. OSErr GXJobIdle (void)
  17462.     = GXPROTECTEDAPIGLUE(4);
  17463.  
  17464. æKY GXReportStatus
  17465. æFc PrintingMessages.h
  17466. æT function
  17467. æD
  17468. OSErr GXReportStatus (short statusID, unsigned short statusIndex)
  17469.     = GXPROTECTEDAPIGLUE(5);
  17470.  
  17471. æKY GXAlertTheUser
  17472. æFc PrintingMessages.h
  17473. æT function
  17474. æD
  17475. OSErr GXAlertTheUser (gxStatusRecord *)
  17476.     = GXPROTECTEDAPIGLUE(6);
  17477.  
  17478. æKY GXSetupDialogPanel
  17479. æFc PrintingMessages.h
  17480. æT function
  17481. æD
  17482. OSErr GXSetupDialogPanel (gxPanelSetupRecord *)
  17483.     = GXPROTECTEDAPIGLUE(7);
  17484.  
  17485. æKY GXCountTrays
  17486. æFc PrintingMessages.h
  17487. æT function
  17488. æD
  17489. OSErr GXCountTrays (gxTrayIndex *numTrays)
  17490.     = GXPROTECTEDAPIGLUE(8);
  17491.  
  17492. æKY GXGetTrayName
  17493. æFc PrintingMessages.h
  17494. æT function
  17495. æD
  17496. OSErr GXGetTrayName (gxTrayIndex trayNumber, Str31 trayName)
  17497.     = GXPROTECTEDAPIGLUE(9);
  17498.  
  17499. æKY GXSetTrayPaperType
  17500. æFc PrintingMessages.h
  17501. æT function
  17502. æD
  17503. OSErr GXSetTrayPaperType (gxTrayIndex whichTray, gxPaperType)
  17504.     = GXPROTECTEDAPIGLUE(10);
  17505.  
  17506. æKY GXGetTrayPaperType
  17507. æFc PrintingMessages.h
  17508. æT function
  17509. æD
  17510. OSErr GXGetTrayPaperType (gxTrayIndex whichTray, gxPaperType)
  17511.     = GXPROTECTEDAPIGLUE(11);
  17512.  
  17513. æKY GXGetTrayMapping
  17514. æFc PrintingMessages.h
  17515. æT function
  17516. æD
  17517. OSErr GXGetTrayMapping (gxTrayMapping *trayMapping)
  17518.     = GXPROTECTEDAPIGLUE(12);
  17519.  
  17520. æKY GXCleanupStartJob
  17521. æFc PrintingMessages.h
  17522. æT function
  17523. æD
  17524. void GXCleanupStartJob (void)
  17525.     = GXPROTECTEDAPIGLUE(13);
  17526.  
  17527. æKY GXCleanupStartPage
  17528. æFc PrintingMessages.h
  17529. æT function
  17530. æD
  17531. void GXCleanupStartPage (void)
  17532.     = GXPROTECTEDAPIGLUE(14);
  17533.  
  17534. æKY GXCleanupOpenConnection
  17535. æFc PrintingMessages.h
  17536. æT function
  17537. æD
  17538. void GXCleanupOpenConnection (void)
  17539.     = GXPROTECTEDAPIGLUE(15);
  17540.  
  17541. æKY GXCleanupStartSendPage
  17542. æFc PrintingMessages.h
  17543. æT function
  17544. æD
  17545. void GXCleanupStartSendPage (void)
  17546.     = GXPROTECTEDAPIGLUE(16);
  17547.  
  17548. æKY gxNoCreateOptions
  17549.     gxInhibitAlias
  17550.     gxInhibitUniqueName
  17551.     gxResolveBitmapAlias
  17552. æFc PrintingMessages.h
  17553. æT constant
  17554. æD
  17555. enum {
  17556.     gxNoCreateOptions    = 0x00000000,        // just create the file
  17557.     gxInhibitAlias        = 0x00000001,        // do not create an alias in the PMD folder
  17558.     gxInhibitUniqueName    = 0x00000002,    // do not append to the filename to make it unique
  17559.     gxResolveBitmapAlias    = 0x00000004    // resolve bitmap aliases and duplicate data in file
  17560. };
  17561.  
  17562. æC
  17563.  
  17564. Options for gxCreateSpoolFile message
  17565.  
  17566. æKY gxNoCloseOptions
  17567.     gxDeleteOnClose
  17568.     gxUpdateJobData
  17569.     gxMakeRemoteFile
  17570. æFc PrintingMessages.h
  17571. æT constant
  17572. æD
  17573. enum {
  17574.     gxNoCloseOptions    = 0x00000000,        // just close the file
  17575.     gxDeleteOnClose        = 0x00000001,        // delete the file rather than closing it
  17576.     gxUpdateJobData        = 0x00000002,        // write current job information into file prior to closing
  17577.     gxMakeRemoteFile    = 0x00000004        // mark job as a remote file
  17578. };
  17579.  
  17580. æC
  17581.  
  17582. Options for gxCloseSpoolFile message
  17583.  
  17584. æKY gxNoImageFile
  17585.     gxMakeImageFile
  17586.     gxEachPlane
  17587.     gxEachPage
  17588.     gxEntireFile
  17589. æFc PrintingMessages.h
  17590. æT constant
  17591. æD
  17592. enum {
  17593.     gxNoImageFile         = 0x00000000,                // don't create image file
  17594.     gxMakeImageFile     = 0x00000001,                // create an image file
  17595.     gxEachPlane            = 0x00000002,                // only save up planes before rewinding
  17596.     gxEachPage            = 0x00000004,                // save up entire pages before rewinding
  17597.     gxEntireFile        = gxEachPlane + gxEachPage    // save up the entire file before rewinding
  17598. };
  17599.  
  17600. æC
  17601.  
  17602. Options for gxCreateImageFile message
  17603.  
  17604. æKY gxNoBufferOptions
  17605.     gxMakeBufferHex
  17606.     gxDontSplitBuffer
  17607. æFc PrintingMessages.h
  17608. æT constant
  17609. æD
  17610. enum {
  17611.     gxNoBufferOptions    = 0x00000000, 
  17612.     gxMakeBufferHex        = 0x00000001, 
  17613.     gxDontSplitBuffer    = 0x00000002
  17614. };
  17615.  
  17616. æC
  17617.  
  17618. Options for gxBufferData message
  17619.  
  17620. æKY gxPrintingBuffer
  17621. æFc PrintingMessages.h
  17622. æT structure
  17623. æD
  17624. struct gxPrintingBuffer{        // for gxDumpBuffer and gxFreeBuffer messages
  17625.     long            size;        //    size of buffer in bytes
  17626.     long            userData;    //    client assigned id for the buffer
  17627.     char            data[1];    // array of size bytes
  17628. };
  17629.  
  17630. æKY gxPageInfoRecord
  17631. æFc PrintingMessages.h
  17632. æT structure
  17633. æD
  17634. struct gxPageInfoRecord{        // for gxRenderPage message
  17635.     long        docPageNum;        // number of page being printed
  17636.     long        copyNum;        // copy number being printed
  17637.     Boolean        formatChanged;    // true if format changed from last page
  17638.     Boolean        pageChanged;    // true if page contents changed from last page
  17639.     long        internalUse;    // private
  17640. };
  17641.  
  17642. æKY GXUNIVSENDGLUE
  17643. æFc PrintingMessages.h
  17644. æT macro
  17645. æD
  17646. #define GXUNIVSENDGLUE(selector) SendMessageGlue(0x0000, selector)
  17647.  
  17648. æKY GXFORWARDGLUE
  17649. æFc PrintingMessages.h
  17650. æT macro
  17651. æD
  17652. #define GXFORWARDGLUE ForwardThisMessageGlue
  17653.  
  17654. æKY Send_GXFetchTaggedDriverData
  17655. æFc PrintingMessages.h
  17656. æT macro
  17657. æD
  17658. #define Send_GXFetchTaggedDriverData(tag, id, pHandle) Send_GXFetchTaggedData(tag, id, pHandle, 'drvr')
  17659.  
  17660. æKY Forward_GXFetchTaggedDriverData
  17661. æFc PrintingMessages.h
  17662. æT macro
  17663. æD
  17664. #define Forward_GXFetchTaggedDriverData(tag, id, pHandle) Forward_GXFetchTaggedData(tag, id, pHandle, 'drvr')
  17665.  
  17666. æKY GXJobIdleProcPtr
  17667. æFc PrintingMessages.h
  17668. æT structure
  17669. æD
  17670. typedef OSErr (*GXJobIdleProcPtr) (void);
  17671.  
  17672. æKY Send_GXJobIdle
  17673. æFc PrintingMessages.h
  17674. æT function
  17675. æD
  17676. OSErr Send_GXJobIdle (void)
  17677.     = GXUNIVSENDGLUE(gxJobIdle);
  17678.  
  17679. æKY Forward_GXJobIdle
  17680. æFc PrintingMessages.h
  17681. æT function
  17682. æD
  17683. OSErr Forward_GXJobIdle (void)
  17684.     = GXFORWARDGLUE;
  17685.  
  17686. æKY GXJobStatusProcPtr
  17687. æFc PrintingMessages.h
  17688. æT structure
  17689. æD
  17690. typedef OSErr (*GXJobStatusProcPtr) (gxStatusRecord *pStatus);
  17691.  
  17692. æKY Send_GXJobStatus
  17693. æFc PrintingMessages.h
  17694. æT function
  17695. æD
  17696. OSErr Send_GXJobStatus (gxStatusRecord *pStatus)
  17697.     = GXUNIVSENDGLUE(gxJobStatus);
  17698.  
  17699. æKY Forward_GXJobStatus
  17700. æFc PrintingMessages.h
  17701. æT function
  17702. æD
  17703. OSErr Forward_GXJobStatus (gxStatusRecord *pStatus)
  17704.     = GXFORWARDGLUE;
  17705.  
  17706. æKY GXPrintingEventProcPtr
  17707. æFc PrintingMessages.h
  17708. æT structure
  17709. æD
  17710. typedef OSErr (*GXPrintingEventProcPtr) (EventRecord *eventPtr, Boolean filterEvent);
  17711.  
  17712. æKY Send_GXPrintingEvent
  17713. æFc PrintingMessages.h
  17714. æT function
  17715. æD
  17716. OSErr Send_GXPrintingEvent (EventRecord *, Boolean filterEvent)
  17717.     = GXUNIVSENDGLUE(gxPrintingEvent);
  17718.  
  17719. æKY Forward_GXPrintingEvent
  17720. æFc PrintingMessages.h
  17721. æT function
  17722. æD
  17723. OSErr Forward_GXPrintingEvent (EventRecord *, Boolean filterEvent)
  17724.     = GXFORWARDGLUE;
  17725.  
  17726. æKY GXJobDefaultFormatDialogProcPtr
  17727. æFc PrintingMessages.h
  17728. æT structure
  17729. æD
  17730. typedef OSErr (*GXJobDefaultFormatDialogProcPtr) (gxDialogResult *dlgResult);
  17731.  
  17732. æKY Send_GXJobDefaultFormatDialog
  17733. æFc PrintingMessages.h
  17734. æT function
  17735. æD
  17736. OSErr Send_GXJobDefaultFormatDialog (gxDialogResult *dlgResult)
  17737.     = GXUNIVSENDGLUE(gxJobDefaultFormatDialog);
  17738.  
  17739. æKY Forward_GXJobDefaultFormatDialog
  17740. æFc PrintingMessages.h
  17741. æT function
  17742. æD
  17743. OSErr Forward_GXJobDefaultFormatDialog (gxDialogResult *dlgResult)
  17744.     = GXFORWARDGLUE;
  17745.  
  17746. æKY GXFormatDialogProcPtr
  17747. æFc PrintingMessages.h
  17748. æT structure
  17749. æD
  17750. typedef OSErr (*GXFormatDialogProcPtr) (gxFormat theFormat, StringPtr title, gxDialogResult *dlgResult);
  17751.  
  17752. æKY Send_GXFormatDialog
  17753. æFc PrintingMessages.h
  17754. æT function
  17755. æD
  17756. OSErr Send_GXFormatDialog (gxFormat theFormat, StringPtr title,
  17757.                            gxDialogResult *dlgResult)
  17758.     = GXUNIVSENDGLUE(gxFormatDialog);
  17759.  
  17760. æKY Forward_GXFormatDialog
  17761. æFc PrintingMessages.h
  17762. æT function
  17763. æD
  17764. OSErr Forward_GXFormatDialog (gxFormat theFormat, StringPtr title,
  17765.                               gxDialogResult *dlgResult)
  17766.     = GXFORWARDGLUE;
  17767.  
  17768. æKY GXJobPrintDialogProcPtr
  17769. æFc PrintingMessages.h
  17770. æT structure
  17771. æD
  17772. typedef OSErr (*GXJobPrintDialogProcPtr) (gxDialogResult *dlgResult);
  17773.  
  17774. æKY Send_GXJobPrintDialog
  17775. æFc PrintingMessages.h
  17776. æT function
  17777. æD
  17778. OSErr Send_GXJobPrintDialog (gxDialogResult *dlgResult)
  17779.     = GXUNIVSENDGLUE(gxJobPrintDialog);
  17780.  
  17781. æKY Forward_GXJobPrintDialog
  17782. æFc PrintingMessages.h
  17783. æT function
  17784. æD
  17785. OSErr Forward_GXJobPrintDialog (gxDialogResult *dlgResult)
  17786.     = GXFORWARDGLUE;
  17787.  
  17788. æKY GXFilterPanelEventProcPtr
  17789. æFc PrintingMessages.h
  17790. æT structure
  17791. æD
  17792. typedef OSErr (*GXFilterPanelEventProcPtr) (gxPanelInfoRecord *pHitInfo, Boolean *returnImmed);
  17793.  
  17794. æKY Send_GXFilterPanelEvent
  17795. æFc PrintingMessages.h
  17796. æT function
  17797. æD
  17798. OSErr Send_GXFilterPanelEvent (gxPanelInfoRecord *pHitInfo, Boolean *returnImmed)
  17799.     = GXUNIVSENDGLUE(gxFilterPanelEvent);
  17800.  
  17801. æKY GXHandlePanelEventProcPtr
  17802. æFc PrintingMessages.h
  17803. æT structure
  17804. æD
  17805. typedef OSErr (*GXHandlePanelEventProcPtr) (gxPanelInfoRecord *pHitInfo, gxPanelResult *panelResponse);
  17806.  
  17807. æKY Send_GXHandlePanelEvent
  17808. æFc PrintingMessages.h
  17809. æT function
  17810. æD
  17811. OSErr Send_GXHandlePanelEvent (gxPanelInfoRecord *pHitInfo, gxPanelResult *panelResponse)
  17812.     = GXUNIVSENDGLUE(gxHandlePanelEvent);
  17813.  
  17814. æKY GXParsePageRangeProcPtr
  17815. æFc PrintingMessages.h
  17816. æT structure
  17817. æD
  17818. typedef OSErr (*GXParsePageRangeProcPtr) (StringPtr fromString, StringPtr toString, gxParsePageRangeResult *result);
  17819.  
  17820. æKY Send_GXParsePageRange
  17821. æFc PrintingMessages.h
  17822. æT function
  17823. æD
  17824. OSErr Send_GXParsePageRange (StringPtr fromString, StringPtr toString,
  17825.                              gxParsePageRangeResult *result)
  17826.     = GXUNIVSENDGLUE(gxParsePageRange);
  17827.  
  17828. æKY Forward_GXParsePageRange
  17829. æFc PrintingMessages.h
  17830. æT function
  17831. æD
  17832. OSErr Forward_GXParsePageRange (StringPtr fromString, StringPtr toString,
  17833.                                 gxParsePageRangeResult *result)
  17834.     = GXFORWARDGLUE;
  17835.  
  17836. æKY GXDefaultJobProcPtr
  17837. æFc PrintingMessages.h
  17838. æT structure
  17839. æD
  17840. typedef OSErr (*GXDefaultJobProcPtr) (void);
  17841.  
  17842. æKY Send_GXDefaultJob
  17843. æFc PrintingMessages.h
  17844. æT function
  17845. æD
  17846. OSErr Send_GXDefaultJob (void)
  17847.     = GXUNIVSENDGLUE(gxDefaultJob);
  17848.  
  17849. æKY Forward_GXDefaultJob
  17850. æFc PrintingMessages.h
  17851. æT function
  17852. æD
  17853. OSErr Forward_GXDefaultJob (void)
  17854.     = GXFORWARDGLUE;
  17855.  
  17856. æKY GXDefaultFormatProcPtr
  17857. æFc PrintingMessages.h
  17858. æT structure
  17859. æD
  17860. typedef OSErr (*GXDefaultFormatProcPtr) (gxFormat theFormat);
  17861.  
  17862. æKY Send_GXDefaultFormat
  17863. æFc PrintingMessages.h
  17864. æT function
  17865. æD
  17866. OSErr Send_GXDefaultFormat (gxFormat theFormat)
  17867.     = GXUNIVSENDGLUE(gxDefaultFormat);
  17868.  
  17869. æKY Forward_GXDefaultFormat
  17870. æFc PrintingMessages.h
  17871. æT function
  17872. æD
  17873. OSErr Forward_GXDefaultFormat (gxFormat theFormat)
  17874.     = GXFORWARDGLUE;
  17875.  
  17876. æKY GXDefaultPaperTypeProcPtr
  17877. æFc PrintingMessages.h
  17878. æT structure
  17879. æD
  17880. typedef OSErr (*GXDefaultPaperTypeProcPtr) (gxPaperType thePaperType);
  17881.  
  17882. æKY Send_GXDefaultPaperType
  17883. æFc PrintingMessages.h
  17884. æT function
  17885. æD
  17886. OSErr Send_GXDefaultPaperType (gxPaperType thePaperType)
  17887.     = GXUNIVSENDGLUE(gxDefaultPaperType);
  17888.  
  17889. æKY Forward_GXDefaultPaperType
  17890. æFc PrintingMessages.h
  17891. æT function
  17892. æD
  17893. OSErr Forward_GXDefaultPaperType (gxPaperType thePaperType)
  17894.     = GXFORWARDGLUE;
  17895.  
  17896. æKY GXDefaultPrinterProcPtr
  17897. æFc PrintingMessages.h
  17898. æT structure
  17899. æD
  17900. typedef OSErr (*GXDefaultPrinterProcPtr) (gxPrinter thePrinter);
  17901.  
  17902. æKY Send_GXDefaultPrinter
  17903. æFc PrintingMessages.h
  17904. æT function
  17905. æD
  17906. OSErr Send_GXDefaultPrinter (gxPrinter thePrinter)
  17907.     = GXUNIVSENDGLUE(gxDefaultPrinter);
  17908.  
  17909. æKY Forward_GXDefaultPrinter
  17910. æFc PrintingMessages.h
  17911. æT function
  17912. æD
  17913. OSErr Forward_GXDefaultPrinter (gxPrinter thePrinter)
  17914.     = GXFORWARDGLUE;
  17915.  
  17916. æKY GXCreateSpoolFileProcPtr
  17917. æFc PrintingMessages.h
  17918. æT structure
  17919. æD
  17920. typedef OSErr (*GXCreateSpoolFileProcPtr) (FSSpecPtr pFileSpec, long createOptions, gxSpoolFile *theSpoolFile);
  17921.  
  17922. æKY Send_GXCreateSpoolFile
  17923. æFc PrintingMessages.h
  17924. æT function
  17925. æD
  17926. OSErr Send_GXCreateSpoolFile (FSSpecPtr pFileSpec, long createOptions,
  17927.                               gxSpoolFile *theSpoolFile)
  17928.     = GXUNIVSENDGLUE(gxCreateSpoolFile);
  17929.  
  17930. æKY Forward_GXCreateSpoolFile
  17931. æFc PrintingMessages.h
  17932. æT function
  17933. æD
  17934. OSErr Forward_GXCreateSpoolFile (FSSpecPtr pFileSpec, long createOptions,
  17935.                                  gxSpoolFile *theSpoolFile)
  17936.     = GXFORWARDGLUE;
  17937.  
  17938. æKY GXSpoolPageProcPtr
  17939. æFc PrintingMessages.h
  17940. æT structure
  17941. æD
  17942. typedef OSErr (*GXSpoolPageProcPtr) (gxSpoolFile theSpoolFile, gxFormat theFormat, gxShape thePage);
  17943.  
  17944. æKY Send_GXSpoolPage
  17945. æFc PrintingMessages.h
  17946. æT function
  17947. æD
  17948. OSErr Send_GXSpoolPage (gxSpoolFile theSpoolFile, gxFormat theFormat,
  17949.                         gxShape thePage)
  17950.     = GXUNIVSENDGLUE(gxSpoolPage);
  17951.  
  17952. æKY Forward_GXSpoolPage
  17953. æFc PrintingMessages.h
  17954. æT function
  17955. æD
  17956. OSErr Forward_GXSpoolPage (gxSpoolFile theSpoolFile, gxFormat theFormat,
  17957.                            gxShape thePage)
  17958.     = GXFORWARDGLUE;
  17959.  
  17960. æKY GXSpoolDataProcPtr
  17961. æFc PrintingMessages.h
  17962. æT structure
  17963. æD
  17964. typedef OSErr (*GXSpoolDataProcPtr) (gxSpoolFile theSpoolFile, Ptr data, long *length);
  17965.  
  17966. æKY Send_GXSpoolData
  17967. æFc PrintingMessages.h
  17968. æT function
  17969. æD
  17970. OSErr Send_GXSpoolData (gxSpoolFile theSpoolFile, Ptr data, long *length)
  17971.     = GXUNIVSENDGLUE(gxSpoolData);
  17972.  
  17973. æKY Forward_GXSpoolData
  17974. æFc PrintingMessages.h
  17975. æT function
  17976. æD
  17977. OSErr Forward_GXSpoolData (gxSpoolFile theSpoolFile, Ptr data, long *length)
  17978.     = GXFORWARDGLUE;
  17979.  
  17980. æKY GXSpoolResourceProcPtr
  17981. æFc PrintingMessages.h
  17982. æT structure
  17983. æD
  17984. typedef OSErr (*GXSpoolResourceProcPtr) (gxSpoolFile theSpoolFile, Handle theResource, ResType theType, short id);
  17985.  
  17986. æKY Send_GXSpoolResource
  17987. æFc PrintingMessages.h
  17988. æT function
  17989. æD
  17990. OSErr Send_GXSpoolResource (gxSpoolFile theSpoolFile, Handle theResource,
  17991.                             ResType theType, short id)
  17992.     = GXUNIVSENDGLUE(gxSpoolResource);
  17993.  
  17994. æKY Forward_GXSpoolResource
  17995. æFc PrintingMessages.h
  17996. æT function
  17997. æD
  17998. OSErr Forward_GXSpoolResource (gxSpoolFile theSpoolFile, Handle theResource,
  17999.                                ResType theType, short id)
  18000.     = GXFORWARDGLUE;
  18001.  
  18002. æKY GXCompleteSpoolFileProcPtr
  18003. æFc PrintingMessages.h
  18004. æT structure
  18005. æD
  18006. typedef OSErr (*GXCompleteSpoolFileProcPtr) (gxSpoolFile theSpoolFile);
  18007.  
  18008. æKY Send_GXCompleteSpoolFile
  18009. æFc PrintingMessages.h
  18010. æT function
  18011. æD
  18012. OSErr Send_GXCompleteSpoolFile (gxSpoolFile theSpoolFile)
  18013.     = GXUNIVSENDGLUE(gxCompleteSpoolFile);
  18014.  
  18015. æKY Forward_GXCompleteSpoolFile
  18016. æFc PrintingMessages.h
  18017. æT function
  18018. æD
  18019. OSErr Forward_GXCompleteSpoolFile (gxSpoolFile theSpoolFile)
  18020.     = GXFORWARDGLUE;
  18021.  
  18022. æKY GXCountPagesProcPtr
  18023. æFc PrintingMessages.h
  18024. æT structure
  18025. æD
  18026. typedef OSErr (*GXCountPagesProcPtr) (gxSpoolFile theSpoolFile, long *numPages);
  18027.  
  18028. æKY Send_GXCountPages
  18029. æFc PrintingMessages.h
  18030. æT function
  18031. æD
  18032. OSErr Send_GXCountPages (gxSpoolFile theSpoolFile, long *numPages)
  18033.     = GXUNIVSENDGLUE(gxCountPages);
  18034.  
  18035. æKY Forward_GXCountPages
  18036. æFc PrintingMessages.h
  18037. æT function
  18038. æD
  18039. OSErr Forward_GXCountPages (gxSpoolFile theSpoolFile, long *numPages)
  18040.     = GXFORWARDGLUE;
  18041.  
  18042. æKY GXDespoolPageProcPtr
  18043. æFc PrintingMessages.h
  18044. æT structure
  18045. æD
  18046. typedef OSErr (*GXDespoolPageProcPtr) (gxSpoolFile theSpoolFile, long numPages, gxFormat theFormat, gxShape *thePage,  Boolean *formatChanged);
  18047.  
  18048. æKY Send_GXDespoolPage
  18049. æFc PrintingMessages.h
  18050. æT function
  18051. æD
  18052. OSErr Send_GXDespoolPage (gxSpoolFile theSpoolFile, long numPages,
  18053.                           gxFormat theFormat, gxShape *thePage,
  18054.                           Boolean *formatChanged)
  18055.     = GXUNIVSENDGLUE(gxDespoolPage);
  18056.  
  18057. æKY Forward_GXDespoolPage
  18058. æFc PrintingMessages.h
  18059. æT function
  18060. æD
  18061. OSErr Forward_GXDespoolPage (gxSpoolFile theSpoolFile, long numPages,
  18062.                              gxFormat theFormat, gxShape *thePage,
  18063.                              Boolean *formatChanged)
  18064.     = GXFORWARDGLUE;
  18065.  
  18066. æKY GXDespoolDataProcPtr
  18067. æFc PrintingMessages.h
  18068. æT structure
  18069. æD
  18070. typedef OSErr (*GXDespoolDataProcPtr) (gxSpoolFile theSpoolFile, Ptr data, long *length);
  18071.  
  18072. æKY Send_GXDespoolData
  18073. æFc PrintingMessages.h
  18074. æT function
  18075. æD
  18076. OSErr Send_GXDespoolData (gxSpoolFile theSpoolFile, Ptr data, long *length)
  18077.     = GXUNIVSENDGLUE(gxDespoolData);
  18078.  
  18079. æKY Forward_GXDespoolData
  18080. æFc PrintingMessages.h
  18081. æT function
  18082. æD
  18083. OSErr Forward_GXDespoolData (gxSpoolFile theSpoolFile, Ptr data, long *length)
  18084.     = GXFORWARDGLUE;
  18085.  
  18086. æKY GXDespoolResourceProcPtr
  18087. æFc PrintingMessages.h
  18088. æT structure
  18089. æD
  18090. typedef OSErr (*GXDespoolResourceProcPtr) (gxSpoolFile theSpoolFile, ResType theType, short id, Handle *theResource);
  18091.  
  18092. æKY Send_GXDespoolResource
  18093. æFc PrintingMessages.h
  18094. æT function
  18095. æD
  18096. OSErr Send_GXDespoolResource (gxSpoolFile theSpoolFile, ResType theType,
  18097.                               short id, Handle *theResource)
  18098.     = GXUNIVSENDGLUE(gxDespoolResource);
  18099.  
  18100. æKY Forward_GXDespoolResource
  18101. æFc PrintingMessages.h
  18102. æT function
  18103. æD
  18104. OSErr Forward_GXDespoolResource (gxSpoolFile theSpoolFile, ResType theType,
  18105.                                  short id, Handle *theResource)
  18106.     = GXFORWARDGLUE;
  18107.  
  18108. æKY GXCloseSpoolFileProcPtr
  18109. æFc PrintingMessages.h
  18110. æT structure
  18111. æD
  18112. typedef OSErr (*GXCloseSpoolFileProcPtr) (gxSpoolFile theSpoolFile, long closeOptions);
  18113.  
  18114. æKY Send_GXCloseSpoolFile
  18115. æFc PrintingMessages.h
  18116. æT function
  18117. æD
  18118. OSErr Send_GXCloseSpoolFile (gxSpoolFile theSpoolFile, long closeOptions)
  18119.     = GXUNIVSENDGLUE(gxCloseSpoolFile);
  18120.  
  18121. æKY Forward_GXCloseSpoolFile
  18122. æFc PrintingMessages.h
  18123. æT function
  18124. æD
  18125. OSErr Forward_GXCloseSpoolFile (gxSpoolFile theSpoolFile, long closeOptions)
  18126.     = GXFORWARDGLUE;
  18127.  
  18128. æKY GXStartJobProcPtr
  18129. æFc PrintingMessages.h
  18130. æT structure
  18131. æD
  18132. typedef OSErr (*GXStartJobProcPtr) (StringPtr docName, long pageCount);
  18133.  
  18134. æKY Send_GXStartJob
  18135. æFc PrintingMessages.h
  18136. æT function
  18137. æD
  18138. OSErr Send_GXStartJob (StringPtr docName, long pageCount)
  18139.     = GXUNIVSENDGLUE(gxStartJob);
  18140.  
  18141. æKY Forward_GXStartJob
  18142. æFc PrintingMessages.h
  18143. æT function
  18144. æD
  18145. OSErr Forward_GXStartJob (StringPtr docName, long pageCount)
  18146.     = GXFORWARDGLUE;
  18147.  
  18148. æKY GXFinishJobProcPtr
  18149. æFc PrintingMessages.h
  18150. æT structure
  18151. æD
  18152. typedef OSErr (*GXFinishJobProcPtr) (void);
  18153.  
  18154. æKY Send_GXFinishJob
  18155. æFc PrintingMessages.h
  18156. æT function
  18157. æD
  18158. OSErr Send_GXFinishJob (void)
  18159.     = GXUNIVSENDGLUE(gxFinishJob);
  18160.  
  18161. æKY Forward_GXFinishJob
  18162. æFc PrintingMessages.h
  18163. æT function
  18164. æD
  18165. OSErr Forward_GXFinishJob (void)
  18166.     = GXFORWARDGLUE;
  18167.  
  18168. æKY GXStartPageProcPtr
  18169. æFc PrintingMessages.h
  18170. æT structure
  18171. æD
  18172. typedef OSErr (*GXStartPageProcPtr) (gxFormat theFormat, long numViewPorts, gxViewPort *viewPortList);
  18173.  
  18174. æKY Send_GXStartPage
  18175. æFc PrintingMessages.h
  18176. æT function
  18177. æD
  18178. OSErr Send_GXStartPage (gxFormat theFormat, long numViewPorts,
  18179.                         gxViewPort *viewPortList)
  18180.     = GXUNIVSENDGLUE(gxStartPage);
  18181.  
  18182. æKY Forward_GXStartPage
  18183. æFc PrintingMessages.h
  18184. æT function
  18185. æD
  18186. OSErr Forward_GXStartPage (gxFormat theFormat, long numViewPorts,
  18187.                            gxViewPort *viewPortList)
  18188.     = GXFORWARDGLUE;
  18189.  
  18190. æKY GXFinishPageProcPtr
  18191. æFc PrintingMessages.h
  18192. æT structure
  18193. æD
  18194. typedef OSErr (*GXFinishPageProcPtr) (void);
  18195.  
  18196. æKY Send_GXFinishPage
  18197. æFc PrintingMessages.h
  18198. æT function
  18199. æD
  18200. OSErr Send_GXFinishPage (void)
  18201.     = GXUNIVSENDGLUE(gxFinishPage);
  18202.  
  18203. æKY Forward_GXFinishPage
  18204. æFc PrintingMessages.h
  18205. æT function
  18206. æD
  18207. OSErr Forward_GXFinishPage (void)
  18208.     = GXFORWARDGLUE;
  18209.  
  18210. æKY GXPrintPageProcPtr
  18211. æFc PrintingMessages.h
  18212. æT structure
  18213. æD
  18214. typedef OSErr (*GXPrintPageProcPtr) (gxFormat theFormat, gxShape thePage);
  18215.  
  18216. æKY Send_GXPrintPage
  18217. æFc PrintingMessages.h
  18218. æT function
  18219. æD
  18220. OSErr Send_GXPrintPage (gxFormat theFormat, gxShape thePage)
  18221.     = GXUNIVSENDGLUE(gxPrintPage);
  18222.  
  18223. æKY Forward_GXPrintPage
  18224. æFc PrintingMessages.h
  18225. æT function
  18226. æD
  18227. OSErr Forward_GXPrintPage (gxFormat theFormat, gxShape thePage)
  18228.     = GXFORWARDGLUE;
  18229.  
  18230. æKY GXSetupImageDataProcPtr
  18231. æFc PrintingMessages.h
  18232. æT structure
  18233. æD
  18234. typedef OSErr (*GXSetupImageDataProcPtr) (void *imageData);
  18235.  
  18236. æKY Send_GXSetupImageData
  18237. æFc PrintingMessages.h
  18238. æT function
  18239. æD
  18240. OSErr Send_GXSetupImageData (void *imageData)
  18241.     = GXUNIVSENDGLUE(gxSetupImageData);
  18242.  
  18243. æKY Forward_GXSetupImageData
  18244. æFc PrintingMessages.h
  18245. æT function
  18246. æD
  18247. OSErr Forward_GXSetupImageData (void *imageData)
  18248.     = GXFORWARDGLUE;
  18249.  
  18250. æKY GXImageJobProcPtr
  18251. æFc PrintingMessages.h
  18252. æT structure
  18253. æD
  18254. typedef OSErr (*GXImageJobProcPtr) (gxSpoolFile, long *closeOptions);
  18255.  
  18256. æKY Send_GXImageJob
  18257. æFc PrintingMessages.h
  18258. æT function
  18259. æD
  18260. OSErr Send_GXImageJob(gxSpoolFile, long *closeOptions)
  18261.     = GXUNIVSENDGLUE(gxImageJob);
  18262.  
  18263. æKY Forward_GXImageJob
  18264. æFc PrintingMessages.h
  18265. æT function
  18266. æD
  18267. OSErr Forward_GXImageJob (gxSpoolFile, long *closeOptions)
  18268.     = GXFORWARDGLUE;
  18269.  
  18270. æKY GXImageDocumentProcPtr
  18271. æFc PrintingMessages.h
  18272. æT structure
  18273. æD
  18274. typedef OSErr (*GXImageDocumentProcPtr) (gxSpoolFile theSpoolFile, void *imageData);
  18275.  
  18276. æKY Send_GXImageDocument
  18277. æFc PrintingMessages.h
  18278. æT function
  18279. æD
  18280. OSErr Send_GXImageDocument (gxSpoolFile theSpoolFile, void *imageData)
  18281.     = GXUNIVSENDGLUE(gxImageDocument);
  18282.  
  18283. æKY Forward_GXImageDocument
  18284. æFc PrintingMessages.h
  18285. æT function
  18286. æD
  18287. OSErr Forward_GXImageDocument (gxSpoolFile theSpoolFile, void *imageData)
  18288.     = GXFORWARDGLUE;
  18289.  
  18290. æKY GXImagePageProcPtr
  18291. æFc PrintingMessages.h
  18292. æT structure
  18293. æD
  18294. typedef OSErr (*GXImagePageProcPtr) (gxSpoolFile theSpoolFile, long pageNumber, gxFormat theFormat, void *imageData);
  18295.  
  18296. æKY Send_GXImagePage
  18297. æFc PrintingMessages.h
  18298. æT function
  18299. æD
  18300. OSErr Send_GXImagePage (gxSpoolFile theSpoolFile, long pageNumber,
  18301.                         gxFormat theFormat, void *imageData)
  18302.     = GXUNIVSENDGLUE(gxImagePage);
  18303.  
  18304. æKY Forward_GXImagePage
  18305. æFc PrintingMessages.h
  18306. æT function
  18307. æD
  18308. OSErr Forward_GXImagePage (gxSpoolFile theSpoolFile, long pageNumber,
  18309.                            gxFormat theFormat, void *imageData)
  18310.     = GXFORWARDGLUE;
  18311.  
  18312. æKY GXRenderPageProcPtr
  18313. æFc PrintingMessages.h
  18314. æT structure
  18315. æD
  18316. typedef OSErr (*GXRenderPageProcPtr) (gxFormat theFormat, gxShape thePage, gxPageInfoRecord *, void *imageData);
  18317.  
  18318. æKY Send_GXRenderPage
  18319. æFc PrintingMessages.h
  18320. æT function
  18321. æD
  18322. OSErr Send_GXRenderPage (gxFormat theFormat, gxShape thePage,
  18323.                          gxPageInfoRecord *, void *imageData)
  18324.     = GXUNIVSENDGLUE(gxRenderPage);
  18325.  
  18326. æKY Forward_GXRenderPage
  18327. æFc PrintingMessages.h
  18328. æT function
  18329. æD
  18330. OSErr Forward_GXRenderPage (gxFormat theFormat, gxShape thePage,
  18331.                             gxPageInfoRecord *, void *imageData)
  18332.     = GXFORWARDGLUE;
  18333.  
  18334. æKY GXCreateImageFileProcPtr
  18335. æFc PrintingMessages.h
  18336. æT structure
  18337. æD
  18338. typedef OSErr (*GXCreateImageFileProcPtr) (FSSpecPtr pFileSpec, long imageFileOptions, long *theImageFile);
  18339.  
  18340. æKY Send_GXCreateImageFile
  18341. æFc PrintingMessages.h
  18342. æT function
  18343. æD
  18344. OSErr Send_GXCreateImageFile (FSSpecPtr pFileSpec, long imageFileOptions,
  18345.                               long *theImageFile)
  18346.     = GXUNIVSENDGLUE(gxCreateImageFile);
  18347.  
  18348. æKY Forward_GXCreateImageFile
  18349. æFc PrintingMessages.h
  18350. æT function
  18351. æD
  18352. OSErr Forward_GXCreateImageFile (FSSpecPtr pFileSpec, long imageFileOptions,
  18353.                                  long *theImageFile)
  18354.     = GXFORWARDGLUE;
  18355.  
  18356. æKY GXOpenConnectionProcPtr
  18357. æFc PrintingMessages.h
  18358. æT structure
  18359. æD
  18360. typedef OSErr (*GXOpenConnectionProcPtr) (void);
  18361.  
  18362. æKY Send_GXOpenConnection
  18363. æFc PrintingMessages.h
  18364. æT function
  18365. æD
  18366. OSErr Send_GXOpenConnection (void)
  18367.     = GXUNIVSENDGLUE(gxOpenConnection);
  18368.  
  18369. æKY Forward_GXOpenConnection
  18370. æFc PrintingMessages.h
  18371. æT function
  18372. æD
  18373. OSErr Forward_GXOpenConnection (void)
  18374.     = GXFORWARDGLUE;
  18375.  
  18376. æKY GXCloseConnectionProcPtr
  18377. æFc PrintingMessages.h
  18378. æT structure
  18379. æD
  18380. typedef OSErr (*GXCloseConnectionProcPtr) (void);
  18381.  
  18382. æKY Send_GXCloseConnection
  18383. æFc PrintingMessages.h
  18384. æT function
  18385. æD
  18386. OSErr Send_GXCloseConnection (void)
  18387.     = GXUNIVSENDGLUE(gxCloseConnection);
  18388.  
  18389. æKY Forward_GXCloseConnection
  18390. æFc PrintingMessages.h
  18391. æT function
  18392. æD
  18393. OSErr Forward_GXCloseConnection (void)
  18394.     = GXFORWARDGLUE;
  18395.  
  18396. æKY GXStartSendPageProcPtr
  18397. æFc PrintingMessages.h
  18398. æT structure
  18399. æD
  18400. typedef OSErr (*GXStartSendPageProcPtr) (gxFormat theFormat);
  18401.  
  18402. æKY Send_GXStartSendPage
  18403. æFc PrintingMessages.h
  18404. æT function
  18405. æD
  18406. OSErr Send_GXStartSendPage (gxFormat theFormat)
  18407.     = GXUNIVSENDGLUE(gxStartSendPage);
  18408.  
  18409. æKY Forward_GXStartSendPage
  18410. æFc PrintingMessages.h
  18411. æT function
  18412. æD
  18413. OSErr Forward_GXStartSendPage (gxFormat theFormat)
  18414.     = GXFORWARDGLUE;
  18415.  
  18416. æKY GXFinishSendPageProcPtr
  18417. æFc PrintingMessages.h
  18418. æT structure
  18419. æD
  18420. typedef OSErr (*GXFinishSendPageProcPtr) (void);
  18421.  
  18422. æKY Send_GXFinishSendPage
  18423. æFc PrintingMessages.h
  18424. æT function
  18425. æD
  18426. OSErr Send_GXFinishSendPage (void)
  18427.     = GXUNIVSENDGLUE(gxFinishSendPage);
  18428.  
  18429. æKY Forward_GXFinishSendPage
  18430. æFc PrintingMessages.h
  18431. æT function
  18432. æD
  18433. OSErr Forward_GXFinishSendPage (void)
  18434.     = GXFORWARDGLUE;
  18435.  
  18436. æKY GXWriteDataProcPtr
  18437. æFc PrintingMessages.h
  18438. æT structure
  18439. æD
  18440. typedef OSErr (*GXWriteDataProcPtr) (Ptr data, long length);
  18441.  
  18442. æKY Send_GXWriteData
  18443. æFc PrintingMessages.h
  18444. æT function
  18445. æD
  18446. OSErr Send_GXWriteData (Ptr data, long length)
  18447.     = GXUNIVSENDGLUE(gxWriteData);
  18448.  
  18449. æKY Forward_GXWriteData
  18450. æFc PrintingMessages.h
  18451. æT function
  18452. æD
  18453. OSErr Forward_GXWriteData (Ptr data, long length)
  18454.     = GXFORWARDGLUE;
  18455.  
  18456. æKY GXBufferDataProcPtr
  18457. æFc PrintingMessages.h
  18458. æT structure
  18459. æD
  18460. typedef OSErr (*GXBufferDataProcPtr) (Ptr data, long length, long bufferOptions);
  18461.  
  18462. æKY Send_GXBufferData
  18463. æFc PrintingMessages.h
  18464. æT function
  18465. æD
  18466. OSErr Send_GXBufferData (Ptr data, long length, long bufferOptions)
  18467.     = GXUNIVSENDGLUE(gxBufferData);
  18468.  
  18469. æKY Forward_GXBufferData
  18470. æFc PrintingMessages.h
  18471. æT function
  18472. æD
  18473. OSErr Forward_GXBufferData (Ptr data, long length, long bufferOptions)
  18474.     = GXFORWARDGLUE;
  18475.  
  18476. æKY GXDumpBufferProcPtr
  18477. æFc PrintingMessages.h
  18478. æT structure
  18479. æD
  18480. typedef OSErr (*GXDumpBufferProcPtr) (gxPrintingBuffer *theBuffer);
  18481.  
  18482. æKY Send_GXDumpBuffer
  18483. æFc PrintingMessages.h
  18484. æT function
  18485. æD
  18486. OSErr Send_GXDumpBuffer (gxPrintingBuffer *theBuffer)
  18487.     = GXUNIVSENDGLUE(gxDumpBuffer);
  18488.  
  18489. æKY Forward_GXDumpBuffer
  18490. æFc PrintingMessages.h
  18491. æT function
  18492. æD
  18493. OSErr Forward_GXDumpBuffer (gxPrintingBuffer *theBuffer)
  18494.     = GXFORWARDGLUE;
  18495.  
  18496. æKY GXFreeBufferProcPtr
  18497. æFc PrintingMessages.h
  18498. æT structure
  18499. æD
  18500. typedef OSErr (*GXFreeBufferProcPtr) (gxPrintingBuffer *theBuffer);
  18501.  
  18502. æKY Send_GXFreeBuffer
  18503. æFc PrintingMessages.h
  18504. æT function
  18505. æD
  18506. OSErr Send_GXFreeBuffer (gxPrintingBuffer *theBuffer)
  18507.     = GXUNIVSENDGLUE(gxFreeBuffer);
  18508.  
  18509. æKY Forward_GXFreeBuffer
  18510. æFc PrintingMessages.h
  18511. æT function
  18512. æD
  18513. OSErr Forward_GXFreeBuffer (gxPrintingBuffer *theBuffer)
  18514.     = GXFORWARDGLUE;
  18515.  
  18516. æKY GXCheckStatusProcPtr
  18517. æFc PrintingMessages.h
  18518. æT structure
  18519. æD
  18520. typedef OSErr (*GXCheckStatusProcPtr) (Ptr data, long length, short statusType, Signature owner);
  18521.  
  18522. æKY Send_GXCheckStatus
  18523. æFc PrintingMessages.h
  18524. æT function
  18525. æD
  18526. OSErr Send_GXCheckStatus (Ptr data, long length, short statusType, Signature owner)
  18527.     = GXUNIVSENDGLUE(gxCheckStatus);
  18528.  
  18529. æKY Forward_GXCheckStatus
  18530. æFc PrintingMessages.h
  18531. æT function
  18532. æD
  18533. OSErr Forward_GXCheckStatus (Ptr data, long length, short statusType,
  18534.                              Signature owner)
  18535.     = GXFORWARDGLUE;
  18536.  
  18537. æKY GXGetDeviceStatusProcPtr
  18538. æFc PrintingMessages.h
  18539. æT structure
  18540. æD
  18541. typedef OSErr (*GXGetDeviceStatusProcPtr) (Ptr cmdData, long cmdSize, Ptr responseData, long *responseSize, Str255 termination);
  18542.  
  18543. æKY Send_GXGetDeviceStatus
  18544. æFc PrintingMessages.h
  18545. æT function
  18546. æD
  18547. OSErr Send_GXGetDeviceStatus (Ptr cmdData, long cmdSize, Ptr responseData,
  18548.                               long *responseSize, Str255 termination)
  18549.     = GXUNIVSENDGLUE(gxGetDeviceStatus);
  18550.  
  18551. æKY Forward_GXGetDeviceStatus
  18552. æFc PrintingMessages.h
  18553. æT function
  18554. æD
  18555. OSErr Forward_GXGetDeviceStatus (Ptr cmdData, long cmdSize, Ptr responseData,
  18556.                                  long *responseSize, Str255 termination)
  18557.     = GXFORWARDGLUE;
  18558.  
  18559. æKY GXFetchTaggedDataProcPtr
  18560. æFc PrintingMessages.h
  18561. æT structure
  18562. æD
  18563. typedef OSErr (*GXFetchTaggedDataProcPtr) (ResType theType, short id, Handle *, Signature owner);
  18564.  
  18565. æKY Send_GXFetchTaggedData
  18566. æFc PrintingMessages.h
  18567. æT function
  18568. æD
  18569. OSErr Send_GXFetchTaggedData (ResType theType, short id, Handle *, Signature owner)
  18570.     = GXUNIVSENDGLUE(gxFetchTaggedData);
  18571.  
  18572. æKY Forward_GXFetchTaggedData
  18573. æFc PrintingMessages.h
  18574. æT function
  18575. æD
  18576. OSErr Forward_GXFetchTaggedData (ResType theType, short id, Handle *, Signature owner)
  18577.     = GXFORWARDGLUE;
  18578.  
  18579. æKY GXGetDTPMenuListProcPtr
  18580. æFc PrintingMessages.h
  18581. æT structure
  18582. æD
  18583. typedef OSErr (*GXGetDTPMenuListProcPtr) (MenuHandle menuHdl);
  18584.  
  18585. æKY Send_GXGetDTPMenuList
  18586. æFc PrintingMessages.h
  18587. æT function
  18588. æD
  18589. OSErr    Send_GXGetDTPMenuList (MenuHandle menuHdl)
  18590.     = GXUNIVSENDGLUE(gxGetDTPMenuList);
  18591.  
  18592. æKY Forward_GXGetDTPMenuList
  18593. æFc PrintingMessages.h
  18594. æT function
  18595. æD
  18596. OSErr    Forward_GXGetDTPMenuList (MenuHandle menuHdl)
  18597.     = GXFORWARDGLUE;
  18598.  
  18599. æKY GXDTPMenuSelectProcPtr
  18600. æFc PrintingMessages.h
  18601. æT structure
  18602. æD
  18603. typedef OSErr (*GXDTPMenuSelectProcPtr) (short id);
  18604.  
  18605. æKY Send_GXDTPMenuSelect
  18606. æFc PrintingMessages.h
  18607. æT function
  18608. æD
  18609. OSErr    Send_GXDTPMenuSelect (short id)
  18610.     = GXUNIVSENDGLUE(gxDTPMenuSelect);
  18611.  
  18612. æKY Forward_GXDTPMenuSelect
  18613. æFc PrintingMessages.h
  18614. æT function
  18615. æD
  18616. OSErr    Forward_GXDTPMenuSelect (short id)
  18617.     = GXFORWARDGLUE;
  18618.  
  18619. æKY GXHandleAlertFilterProcPtr
  18620. æFc PrintingMessages.h
  18621. æT structure
  18622. æD
  18623. typedef OSErr (*GXHandleAlertFilterProcPtr) (gxJob theJob, gxStatusRecord *pStatusRec,
  18624.                                              DialogPtr pDialog, EventRecord *theEvent,
  18625.                                              short *itemHit, Boolean *returnImmed);
  18626.  
  18627. æKY Send_GXHandleAlertFilter
  18628. æFc PrintingMessages.h
  18629. æT function
  18630. æD
  18631. OSErr    Send_GXHandleAlertFilter (gxJob theJob, gxStatusRecord *pStatusRec,
  18632.                                   DialogPtr pDialog, EventRecord *theEvent,
  18633.                                   short *itemHit, Boolean *returnImmed)
  18634.     = GXUNIVSENDGLUE(gxHandleAlertFilter);
  18635.  
  18636. æKY Forward_GXHandleAlertFilter
  18637. æFc PrintingMessages.h
  18638. æT function
  18639. æD
  18640. OSErr    Forward_GXHandleAlertFilter (gxJob theJob, gxStatusRecord *pStatusRec,
  18641.                                      DialogPtr pDialog, EventRecord *theEvent,
  18642.                                      short *itemHit, Boolean *returnImmed)
  18643.     = GXFORWARDGLUE;
  18644.  
  18645. æKY GXJobFormatModeQueryProcPtr
  18646. æFc PrintingMessages.h
  18647. æT structure
  18648. æD
  18649. typedef OSErr (*GXJobFormatModeQueryProcPtr) (gxQueryType theQuery, void *srcData, void *dstData);
  18650.  
  18651. æKY Send_GXJobFormatModeQuery
  18652. æFc PrintingMessages.h
  18653. æT function
  18654. æD
  18655. OSErr Send_GXJobFormatModeQuery (gxQueryType theQuery, void *srcData, void *dstData)
  18656.     = GXUNIVSENDGLUE(gxJobFormatModeQuery);
  18657.  
  18658. æKY Forward_GXJobFormatModeQuery
  18659. æFc PrintingMessages.h
  18660. æT function
  18661. æD
  18662. OSErr Forward_GXJobFormatModeQuery (gxQueryType theQuery, void *srcData, void *dstData)
  18663.     = GXFORWARDGLUE;
  18664.  
  18665. æKY GXWriteStatusToDTPWindowProcPtr
  18666. æFc PrintingMessages.h
  18667. æT structure
  18668. æD
  18669. typedef OSErr (*GXWriteStatusToDTPWindowProcPtr) (gxStatusRecord *pStatusRec, gxDisplayRecord *pDisplay);
  18670.  
  18671. æKY Send_GXWriteStatusToDTPWindow
  18672. æFc PrintingMessages.h
  18673. æT function
  18674. æD
  18675. OSErr Send_GXWriteStatusToDTPWindow (gxStatusRecord *pStatusRec,
  18676.                                      gxDisplayRecord *pDisplay)
  18677.     = GXUNIVSENDGLUE(gxWriteStatusToDTPWindow);
  18678.  
  18679. æKY Forward_GXWriteStatusToDTPWindow
  18680. æFc PrintingMessages.h
  18681. æT function
  18682. æD
  18683. OSErr Forward_GXWriteStatusToDTPWindow (gxStatusRecord *pStatusRec,
  18684.                                         gxDisplayRecord *pDisplay)
  18685.     = GXFORWARDGLUE;
  18686.  
  18687. æKY GXInitializeStatusAlertProcPtr
  18688. æFc PrintingMessages.h
  18689. æT structure
  18690. æD
  18691. typedef OSErr (*GXInitializeStatusAlertProcPtr) (gxStatusRecord *pStatusRec, DialogPtr *pDialog);
  18692.  
  18693. æKY Send_GXInitializeStatusAlert
  18694. æFc PrintingMessages.h
  18695. æT function
  18696. æD
  18697. OSErr Send_GXInitializeStatusAlert (gxStatusRecord *pStatusRec, DialogPtr *pDialog)
  18698.     = GXUNIVSENDGLUE(gxInitializeStatusAlert);
  18699.  
  18700. æKY Forward_GXInitializeStatusAlert
  18701. æFc PrintingMessages.h
  18702. æT function
  18703. æD
  18704. OSErr Forward_GXInitializeStatusAlert (gxStatusRecord *pStatusRec, DialogPtr *pDialog)
  18705.     = GXFORWARDGLUE;
  18706.  
  18707. æKY GXHandleAlertStatusProcPtr
  18708. æFc PrintingMessages.h
  18709. æT structure
  18710. æD
  18711. typedef OSErr (*GXHandleAlertStatusProcPtr) (gxStatusRecord *pStatusRec);
  18712.  
  18713. æKY Send_GXHandleAlertStatus
  18714. æFc PrintingMessages.h
  18715. æT function
  18716. æD
  18717. OSErr Send_GXHandleAlertStatus (gxStatusRecord *pStatusRec)
  18718.     = GXUNIVSENDGLUE(gxHandleAlertStatus);
  18719.  
  18720. æKY Forward_GXHandleAlertStatus
  18721. æFc PrintingMessages.h
  18722. æT function
  18723. æD
  18724. OSErr Forward_GXHandleAlertStatus (gxStatusRecord *pStatusRec)
  18725.     = GXFORWARDGLUE;
  18726.  
  18727. æKY GXHandleAlertEventProcPtr
  18728. æFc PrintingMessages.h
  18729. æT structure
  18730. æD
  18731. typedef OSErr (*GXHandleAlertEventProcPtr) (gxStatusRecord *pStatusRec, DialogPtr pDialog, EventRecord *theEvent, short *response);
  18732.  
  18733. æKY Send_GXHandleAlertEvent
  18734. æFc PrintingMessages.h
  18735. æT function
  18736. æD
  18737. OSErr Send_GXHandleAlertEvent (gxStatusRecord *pStatusRec, DialogPtr pDialog,
  18738.                                EventRecord *theEvent, short *response)
  18739.     = GXUNIVSENDGLUE(gxHandleAlertEvent);
  18740.  
  18741. æKY Forward_GXHandleAlertEvent
  18742. æFc PrintingMessages.h
  18743. æT function
  18744. æD
  18745. OSErr Forward_GXHandleAlertEvent (gxStatusRecord *pStatusRec, DialogPtr pDialog,
  18746.                                   EventRecord *theEvent, short *response)
  18747.     = GXFORWARDGLUE;
  18748.  
  18749. æKY GXCleanupStartJobProcPtr
  18750. æFc PrintingMessages.h
  18751. æT structure
  18752. æD
  18753. typedef void (*GXCleanupStartJobProcPtr) (void);
  18754.  
  18755. æKY Send_GXCleanupStartJob
  18756. æFc PrintingMessages.h
  18757. æT function
  18758. æD
  18759. void Send_GXCleanupStartJob (void)
  18760.     = GXUNIVSENDGLUE(gxCleanupStartJob);
  18761.  
  18762. æKY Forward_GXCleanupStartJob
  18763. æFc PrintingMessages.h
  18764. æT function
  18765. æD
  18766. void Forward_GXCleanupStartJob (void)
  18767.     = GXFORWARDGLUE;
  18768.  
  18769. æKY GXCleanupStartPageProcPtr
  18770. æFc PrintingMessages.h
  18771. æT structure
  18772. æD
  18773. typedef void (*GXCleanupStartPageProcPtr) (void);
  18774.  
  18775. æKY Send_GXCleanupStartPage
  18776. æFc PrintingMessages.h
  18777. æT function
  18778. æD
  18779. void Send_GXCleanupStartPage (void)
  18780.     = GXUNIVSENDGLUE(gxCleanupStartPage);
  18781.  
  18782. æKY Forward_GXCleanupStartPage
  18783. æFc PrintingMessages.h
  18784. æT function
  18785. æD
  18786. void Forward_GXCleanupStartPage (void)
  18787.     = GXFORWARDGLUE;
  18788.  
  18789. æKY GXCleanupOpenConnectionProcPtr
  18790. æFc PrintingMessages.h
  18791. æT structure
  18792. æD
  18793. typedef void (*GXCleanupOpenConnectionProcPtr) (void);
  18794.  
  18795. æKY Send_GXCleanupOpenConnection
  18796. æFc PrintingMessages.h
  18797. æT function
  18798. æD
  18799. void Send_GXCleanupOpenConnection (void)
  18800.     = GXUNIVSENDGLUE(gxCleanupOpenConnection);
  18801.  
  18802. æKY Forward_GXCleanupOpenConnection
  18803. æFc PrintingMessages.h
  18804. æT function
  18805. æD
  18806. void Forward_GXCleanupOpenConnection (void)
  18807.     = GXFORWARDGLUE;
  18808.  
  18809. æKY GXCleanupStartSendPageProcPtr
  18810. æFc PrintingMessages.h
  18811. æT structure
  18812. æD
  18813. typedef void (*GXCleanupStartSendPageProcPtr) (void);
  18814.  
  18815. æKY Send_GXCleanupStartSendPage
  18816. æFc PrintingMessages.h
  18817. æT function
  18818. æD
  18819. void Send_GXCleanupStartSendPage (void)
  18820.     = GXUNIVSENDGLUE(gxCleanupStartSendPage);
  18821.  
  18822. æKY Forward_GXCleanupStartSendPage
  18823. æFc PrintingMessages.h
  18824. æT function
  18825. æD
  18826. void Forward_GXCleanupStartSendPage (void)
  18827.     = GXFORWARDGLUE;
  18828.  
  18829. æKY GXDefaultDesktopPrinterProcPtr
  18830. æFc PrintingMessages.h
  18831. æT structure
  18832. æD
  18833. typedef OSErr (*GXDefaultDesktopPrinterProcPtr) (Str31);
  18834.  
  18835. æKY Send_GXDefaultDesktopPrinter
  18836. æFc PrintingMessages.h
  18837. æT function
  18838. æD
  18839. OSErr Send_GXDefaultDesktopPrinter (Str31 dtpName)
  18840.     = GXUNIVSENDGLUE(gxDefaultDesktopPrinter);
  18841.  
  18842. æKY Forward_GXDefaultDesktopPrinter
  18843. æFc PrintingMessages.h
  18844. æT function
  18845. æD
  18846. OSErr Forward_GXDefaultDesktopPrinter (Str31 dtpName)
  18847.     = GXFORWARDGLUE;
  18848.  
  18849. æKY GXCaptureOutputDeviceProcPtr
  18850. æFc PrintingMessages.h
  18851. æT structure
  18852. æD
  18853. typedef OSErr (*GXCaptureOutputDeviceProcPtr) (Boolean capture);
  18854.  
  18855. æKY Send_GXCaptureOutputDevice
  18856. æFc PrintingMessages.h
  18857. æT function
  18858. æD
  18859. OSErr    Send_GXCaptureOutputDevice (Boolean capture)
  18860.     = GXUNIVSENDGLUE(gxCaptureOutputDevice);
  18861.  
  18862. æKY Forward_GXCaptureOutputDevice
  18863. æFc PrintingMessages.h
  18864. æT function
  18865. æD
  18866. OSErr    Forward_GXCaptureOutputDevice (Boolean capture)
  18867.     = GXFORWARDGLUE;
  18868.  
  18869. æKY GXOpenConnectionRetryProcPtr
  18870. æFc PrintingMessages.h
  18871. æT structure
  18872. æD
  18873. typedef OSErr (*GXOpenConnectionRetryProcPtr) (ResType theType, void *, Boolean *retryopenPtr, OSErr anErr);
  18874.  
  18875. æKY Send_GXOpenConnectionRetry
  18876. æFc PrintingMessages.h
  18877. æT function
  18878. æD
  18879. OSErr Send_GXOpenConnectionRetry (ResType theType, void *, Boolean *retryopenPtr,
  18880.                                   OSErr anErr)
  18881.     = GXUNIVSENDGLUE(gxOpenConnectionRetry);
  18882.  
  18883. æKY Forward_GXOpenConnectionRetry
  18884. æFc PrintingMessages.h
  18885. æT function
  18886. æD
  18887. OSErr Forward_GXOpenConnectionRetry (ResType theType, void *, Boolean *retryopenPtr,
  18888.                                      OSErr anErr)
  18889.     = GXFORWARDGLUE;
  18890.  
  18891. æKY GXExamineSpoolFileProcPtr
  18892. æFc PrintingMessages.h
  18893. æT structure
  18894. æD
  18895. typedef OSErr (*GXExamineSpoolFileProcPtr) (gxSpoolFile theSpoolFile);
  18896.  
  18897. æKY Send_GXExamineSpoolFile
  18898. æFc PrintingMessages.h
  18899. æT function
  18900. æD
  18901. OSErr Send_GXExamineSpoolFile (gxSpoolFile theSpoolFile)
  18902.     = GXUNIVSENDGLUE(gxExamineSpoolFile);
  18903.  
  18904. æKY Forward_GXExamineSpoolFile
  18905. æFc PrintingMessages.h
  18906. æT function
  18907. æD
  18908. OSErr Forward_GXExamineSpoolFile (gxSpoolFile theSpoolFile)
  18909.     = GXFORWARDGLUE;
  18910.  
  18911. æKY GXFinishSendPlaneProcPtr
  18912. æFc PrintingMessages.h
  18913. æT structure
  18914. æD
  18915. typedef OSErr (*GXFinishSendPlaneProcPtr) (void);
  18916.  
  18917. æKY Send_GXFinishSendPlane
  18918. æFc PrintingMessages.h
  18919. æT function
  18920. æD
  18921. OSErr Send_GXFinishSendPlane (void)
  18922.     = GXUNIVSENDGLUE(gxFinishSendPlane);
  18923.  
  18924. æKY Forward_GXFinishSendPlane
  18925. æFc PrintingMessages.h
  18926. æT function
  18927. æD
  18928. OSErr Forward_GXFinishSendPlane (void)
  18929.     = GXFORWARDGLUE;
  18930.  
  18931. æKY GXDoesPaperFitProcPtr
  18932. æFc PrintingMessages.h
  18933. æT structure
  18934. æD
  18935. typedef OSErr (*GXDoesPaperFitProcPtr) ( gxTrayIndex whichTray, gxPaperType paper, Boolean *fits );
  18936.  
  18937. æKY Send_GXDoesPaperFit
  18938. æFc PrintingMessages.h
  18939. æT function
  18940. æD
  18941. OSErr Send_GXDoesPaperFit( gxTrayIndex whichTray, gxPaperType paper, Boolean *fits )
  18942.     = GXUNIVSENDGLUE(gxDoesPaperFit);
  18943.  
  18944. æKY Forward_GXDoesPaperFit
  18945. æFc PrintingMessages.h
  18946. æT function
  18947. æD
  18948. OSErr Forward_GXDoesPaperFit( gxTrayIndex whichTray, gxPaperType paper,
  18949.                               Boolean *fits )
  18950.     = GXFORWARDGLUE;
  18951.  
  18952. æKY GXChooserMessageProcPtr
  18953. æFc PrintingMessages.h
  18954. æT structure
  18955. æD
  18956. typedef OSErr (*GXChooserMessageProcPtr) (short message, short caller, StringPtr objName,
  18957.                                     StringPtr zoneName, ListHandle theList, long p2);
  18958.  
  18959. æKY Send_GXChooserMessage
  18960. æFc PrintingMessages.h
  18961. æT function
  18962. æD
  18963. OSErr Send_GXChooserMessage (short message, short caller, StringPtr objName,
  18964.                              StringPtr zoneName, ListHandle theList, long p2)
  18965.     = GXUNIVSENDGLUE(gxChooserMessage);
  18966.  
  18967. æKY Forward_GXChooserMessage
  18968. æFc PrintingMessages.h
  18969. æT function
  18970. æD
  18971. OSErr Forward_GXChooserMessage (short message, short caller, StringPtr objName,
  18972.                                 StringPtr zoneName, ListHandle theList, long p2)
  18973.     = GXFORWARDGLUE;
  18974.  
  18975. æKY GXFindPrinterProfileProcPtr
  18976. æFc PrintingMessages.h
  18977. æT structure
  18978. æD
  18979. typedef OSErr (*GXFindPrinterProfileProcPtr) (gxPrinter thePrinter, void *searchData, long index, gxColorProfile *returnedProfile, long *numProfiles);
  18980.  
  18981. æKY Send_GXFindPrinterProfile
  18982. æFc PrintingMessages.h
  18983. æT function
  18984. æD
  18985. OSErr Send_GXFindPrinterProfile (gxPrinter thePrinter, void *searchData, long index,
  18986.                                  gxColorProfile *returnedProfile, long *numProfiles)
  18987.     = GXUNIVSENDGLUE(gxFindPrinterProfile);
  18988.  
  18989. æKY Forward_GXFindPrinterProfile
  18990. æFc PrintingMessages.h
  18991. æT function
  18992. æD
  18993. OSErr Forward_GXFindPrinterProfile (gxPrinter thePrinter, void *searchData,
  18994.                                     long index, gxColorProfile *returnedProfile,
  18995.                                     long *numProfiles)
  18996.     = GXFORWARDGLUE;
  18997.  
  18998. æKY GXFindFormatProfileProcPtr
  18999. æFc PrintingMessages.h
  19000. æT structure
  19001. æD
  19002. typedef OSErr (*GXFindFormatProfileProcPtr) (gxFormat theFormat, void *searchData, long index, gxColorProfile *returnedProfile, long *numProfiles);
  19003.  
  19004. æKY Send_GXFindFormatProfile
  19005. æFc PrintingMessages.h
  19006. æT function
  19007. æD
  19008. OSErr Send_GXFindFormatProfile (gxFormat theFormat, void *searchData, long index,
  19009.                                 gxColorProfile *returnedProfile, long *numProfiles)
  19010.     = GXUNIVSENDGLUE(gxFindFormatProfile);
  19011.  
  19012. æKY Forward_GXFindFormatProfile
  19013. æFc PrintingMessages.h
  19014. æT function
  19015. æD
  19016. OSErr Forward_GXFindFormatProfile (gxFormat theFormat, void *searchData, long index,
  19017.                                    gxColorProfile *returnedProfile, long *numProfiles)
  19018.     = GXFORWARDGLUE;
  19019.  
  19020. æKY GXSetPrinterProfileProcPtr
  19021. æFc PrintingMessages.h
  19022. æT structure
  19023. æD
  19024. typedef OSErr (*GXSetPrinterProfileProcPtr) (gxPrinter thePrinter, gxColorProfile oldProfile, gxColorProfile newProfile);
  19025.  
  19026. æKY Send_GXSetPrinterProfile
  19027. æFc PrintingMessages.h
  19028. æT function
  19029. æD
  19030. OSErr Send_GXSetPrinterProfile (gxPrinter thePrinter, gxColorProfile oldProfile,
  19031.                                 gxColorProfile newProfile)
  19032.     = GXUNIVSENDGLUE(gxSetPrinterProfile);
  19033.  
  19034. æKY Forward_GXSetPrinterProfile
  19035. æFc PrintingMessages.h
  19036. æT function
  19037. æD
  19038. OSErr Forward_GXSetPrinterProfile (gxPrinter thePrinter, gxColorProfile oldProfile,
  19039.                                    gxColorProfile newProfile)
  19040.     = GXFORWARDGLUE;
  19041.  
  19042. æKY GXSetFormatProfileProcPtr
  19043. æFc PrintingMessages.h
  19044. æT structure
  19045. æD
  19046. typedef OSErr (*GXSetFormatProfileProcPtr) (gxFormat theFormat, gxColorProfile oldProfile, gxColorProfile newProfile);
  19047.  
  19048. æKY Send_GXSetFormatProfile
  19049. æFc PrintingMessages.h
  19050. æT function
  19051. æD
  19052. OSErr Send_GXSetFormatProfile (gxFormat theFormat, gxColorProfile oldProfile,
  19053.                                gxColorProfile newProfile)
  19054.     = GXUNIVSENDGLUE(gxSetFormatProfile);
  19055.  
  19056. æKY Forward_GXSetFormatProfile
  19057. æFc PrintingMessages.h
  19058. æT function
  19059. æD
  19060. OSErr Forward_GXSetFormatProfile (gxFormat theFormat, gxColorProfile oldProfile,
  19061.                                   gxColorProfile newProfile)
  19062.     = GXFORWARDGLUE;
  19063.  
  19064. æKY GXNewGraphicsClient
  19065. æFc Graphics Routines.h
  19066. æT function
  19067. æD
  19068. gxGraphicsClient GXNewGraphicsClient(void *memoryStart, long memoryLength,
  19069.                                      gxClientAttribute attributes)
  19070.     GXInlineCode(0x59, gxAnyContext);
  19071.  
  19072. æKY GXGetGraphicsClient
  19073. æFc Graphics Routines.h
  19074. æT function
  19075. æD
  19076. gxGraphicsClient GXGetGraphicsClient(void)
  19077.     GXInlineCode(0x5a, gxAnyContext);
  19078.  
  19079. æKY GXSetGraphicsClient
  19080. æFc Graphics Routines.h
  19081. æT function
  19082. æD
  19083. void GXSetGraphicsClient(gxGraphicsClient client)
  19084.     GXInlineCode(0x5b, gxAnyContext);
  19085.  
  19086. æKY GXDisposeGraphicsClient
  19087. æFc Graphics Routines.h
  19088. æT function
  19089. æD
  19090. void GXDisposeGraphicsClient(gxGraphicsClient client)
  19091.     GXInlineCode(0x5c, gxAnyContext);
  19092.  
  19093. æKY GXGetGraphicsClients
  19094. æFc Graphics Routines.h
  19095. æT function
  19096. æD
  19097. long GXGetGraphicsClients(long index, long count, gxGraphicsClient clients[])
  19098.     GXInlineCode(0x5e, gxAnyContext);
  19099.  
  19100. æC
  19101.  
  19102. Returns the count
  19103.  
  19104. æKY GXEnterGraphics
  19105. æFc Graphics Routines.h
  19106. æT function
  19107. æD
  19108. void GXEnterGraphics(void)
  19109.     GXInlineCode(0x5f, gxNeedClient);
  19110.  
  19111. æKY GXExitGraphics
  19112. æFc Graphics Routines.h
  19113. æT function
  19114. æD
  19115. void GXExitGraphics(void)
  19116.     GXInlineCode(0x60, gxNeedClient|gxNeedHeap|gxNeedStack);
  19117.  
  19118. æKY GXGetGraphicsError
  19119. æFc Graphics Routines.h
  19120. æT function
  19121. æD
  19122. gxGraphicsError GXGetGraphicsError(gxGraphicsError *stickyError)
  19123.     GXInlineCode(0x61, gxNeedClient);
  19124.  
  19125. æKY GXGetGraphicsNotice
  19126. æFc Graphics Routines.h
  19127. æT function
  19128. æD
  19129. gxGraphicsNotice GXGetGraphicsNotice(gxGraphicsNotice *stickyNotice)
  19130.     GXInlineCode(0x62, gxNeedClient);
  19131.  
  19132. æKY GXGetGraphicsWarning
  19133. æFc Graphics Routines.h
  19134. æT function
  19135. æD
  19136. gxGraphicsWarning GXGetGraphicsWarning(gxGraphicsWarning *stickyWarning)
  19137.     GXInlineCode(0x63, gxNeedClient);
  19138.  
  19139. æKY GXPostGraphicsError
  19140. æFc Graphics Routines.h
  19141. æT function
  19142. æD
  19143. void GXPostGraphicsError(gxGraphicsError error)
  19144.     GXInlineCode(0x64, gxNeedClient);
  19145.  
  19146. æKY GXPostGraphicsNotice
  19147. æFc Graphics Routines.h
  19148. æT function
  19149. æD
  19150. void GXPostGraphicsNotice(gxGraphicsNotice notice)
  19151.     GXInlineCode(0x65, gxNeedClient);
  19152.  
  19153. æKY GXPostGraphicsWarning
  19154. æFc Graphics Routines.h
  19155. æT function
  19156. æD
  19157. void GXPostGraphicsWarning(gxGraphicsWarning warning)
  19158.     GXInlineCode(0x66, gxNeedClient);
  19159.  
  19160. æKY GXGetUserGraphicsError
  19161. æFc Graphics Routines.h
  19162. æT function
  19163. æD
  19164. gxUserErrorFunction GXGetUserGraphicsError(long *reference)
  19165.     GXInlineCode(0x67, gxNeedClient);
  19166.  
  19167. æKY GXGetUserGraphicsNotice
  19168. æFc Graphics Routines.h
  19169. æT function
  19170. æD
  19171. gxUserNoticeFunction GXGetUserGraphicsNotice(long *reference)
  19172.     GXInlineCode(0x68, gxNeedClient);
  19173.  
  19174. æKY GXGetUserGraphicsWarning
  19175. æFc Graphics Routines.h
  19176. æT function
  19177. æD
  19178. gxUserWarningFunction GXGetUserGraphicsWarning(long *reference)
  19179.     GXInlineCode(0x69, gxNeedClient);
  19180.  
  19181. æKY GXSetUserGraphicsError
  19182. æFc Graphics Routines.h
  19183. æT function
  19184. æD
  19185. void GXSetUserGraphicsError(gxUserErrorFunction userFunction, long reference)
  19186.     GXInlineCode(0x6a, gxNeedClient);
  19187.  
  19188. æKY GXSetUserGraphicsNotice
  19189. æFc Graphics Routines.h
  19190. æT function
  19191. æD
  19192. void GXSetUserGraphicsNotice(gxUserNoticeFunction userFunction, long reference)
  19193.     GXInlineCode(0x6b, gxNeedClient);
  19194.  
  19195. æKY GXSetUserGraphicsWarning
  19196. æFc Graphics Routines.h
  19197. æT function
  19198. æD
  19199. void GXSetUserGraphicsWarning(gxUserWarningFunction userFunction, long reference)
  19200.     GXInlineCode(0x6c, gxNeedClient);
  19201.  
  19202. æKY GXIgnoreGraphicsNotice
  19203. æFc Graphics Routines.h
  19204. æT function
  19205. æD
  19206. void GXIgnoreGraphicsNotice(gxGraphicsNotice notice)
  19207.     GXInlineCode(0x6d, gxNeedClient);
  19208.  
  19209. æKY GXPopGraphicsNotice
  19210. æFc Graphics Routines.h
  19211. æT function
  19212. æD
  19213. void GXPopGraphicsNotice(void)
  19214.     GXInlineCode(0x6e, gxNeedClient);
  19215.  
  19216. æKY GXIgnoreGraphicsWarning
  19217. æFc Graphics Routines.h
  19218. æT function
  19219. æD
  19220. void GXIgnoreGraphicsWarning(gxGraphicsWarning warning)
  19221.     GXInlineCode(0x6f, gxNeedClient);
  19222.  
  19223. æKY GXPopGraphicsWarning
  19224. æFc Graphics Routines.h
  19225. æT function
  19226. æD
  19227. void GXPopGraphicsWarning(void)
  19228.     GXInlineCode(0x70, gxNeedClient);
  19229.  
  19230. æKY GXNewShapeVector
  19231. æFc Graphics Routines.h
  19232. æT function
  19233. æD
  19234. gxShape GXNewShapeVector(gxShapeType aType, const Fixed vector[])
  19235.     GXInlineCode(0x71, gxNeedClient|gxNeedHeap|gxNeedStack);
  19236.  
  19237. æKY GXSetShapeVector
  19238. æFc Graphics Routines.h
  19239. æT function
  19240. æD
  19241. void GXSetShapeVector(gxShape target, const Fixed vector[])
  19242.     GXInlineCode(0x72, gxNeedClient|gxNeedHeap|gxNeedStack);
  19243.  
  19244. æKY GXNewBitmap
  19245. æFc Graphics Routines.h
  19246. æT function
  19247. æD
  19248. gxShape GXNewBitmap(const gxBitmap *data, const gxPoint *position)
  19249.     GXInlineCode(0x73, gxNeedClient|gxNeedHeap|gxNeedStack);
  19250.  
  19251. æKY GXNewCurve
  19252. æFc Graphics Routines.h
  19253. æT function
  19254. æD
  19255. gxShape GXNewCurve(const gxCurve *data)
  19256.     GXInlineCode(0x74, gxNeedClient|gxNeedHeap|gxNeedStack);
  19257.  
  19258. æKY GXNewGlyphs
  19259. æFc Graphics Routines.h
  19260. æT function
  19261. æD
  19262. gxShape GXNewGlyphs(long charCount, const unsigned char text[],
  19263.                     const gxPoint positions[], const long advance[],
  19264.                     const gxPoint tangents[], const short styleRuns[],
  19265.                     const gxStyle glyphStyles[])
  19266.     GXInlineCode(0x75, gxNeedClient|gxNeedHeap|gxNeedStack);
  19267.  
  19268. æKY GXNewLine
  19269. æFc Graphics Routines.h
  19270. æT function
  19271. æD
  19272. gxShape GXNewLine(const gxLine *data)
  19273.     GXInlineCode(0x76, gxNeedClient|gxNeedHeap|gxNeedStack);
  19274.  
  19275. æKY GXNewPaths
  19276. æFc Graphics Routines.h
  19277. æT function
  19278. æD
  19279. gxShape GXNewPaths(const gxPaths *data)
  19280.     GXInlineCode(0x77, gxNeedClient|gxNeedHeap|gxNeedStack);
  19281.  
  19282. æKY GXNewPicture
  19283. æFc Graphics Routines.h
  19284. æT function
  19285. æD
  19286. gxShape GXNewPicture(long count, const gxShape shapes[], const gxStyle styles[],
  19287.                      const gxInk inks[], const gxTransform transforms[])
  19288.     GXInlineCode(0x78, gxNeedClient|gxNeedHeap|gxNeedStack);
  19289.  
  19290. æKY GXNewPoint
  19291. æFc Graphics Routines.h
  19292. æT function
  19293. æD
  19294. gxShape GXNewPoint(const gxPoint *data)
  19295.     GXInlineCode(0x79, gxNeedClient|gxNeedHeap|gxNeedStack);
  19296.  
  19297. æKY GXNewPolygons
  19298. æFc Graphics Routines.h
  19299. æT function
  19300. æD
  19301. gxShape GXNewPolygons(const gxPolygons *data)
  19302.     GXInlineCode(0x7a, gxNeedClient|gxNeedHeap|gxNeedStack);
  19303.  
  19304. æKY GXNewRectangle
  19305. æFc Graphics Routines.h
  19306. æT function
  19307. æD
  19308. gxShape GXNewRectangle(const gxRectangle *data)
  19309.     GXInlineCode(0x7b, gxNeedClient|gxNeedHeap|gxNeedStack);
  19310.  
  19311. æKY GXNewText
  19312. æFc Graphics Routines.h
  19313. æT function
  19314. æD
  19315. gxShape GXNewText(long charCount, const unsigned char text[],
  19316.                   const gxPoint *position)
  19317.     GXInlineCode(0x7c, gxNeedClient|gxNeedHeap|gxNeedStack);
  19318.  
  19319. æKY GXGetBitmap
  19320. æFc Graphics Routines.h
  19321. æT function
  19322. æD
  19323. gxBitmap *GXGetBitmap(gxShape source, gxBitmap *data, gxPoint *position)
  19324.     GXInlineCode(0x7d, gxNeedClient|gxNeedHeap|gxNeedStack);
  19325.  
  19326. æKY GXGetCurve
  19327. æFc Graphics Routines.h
  19328. æT function
  19329. æD
  19330. gxCurve *GXGetCurve(gxShape source, gxCurve *data)
  19331.     GXInlineCode(0x7e, gxNeedClient|gxNeedHeap|gxNeedStack);
  19332.  
  19333. æKY GXGetGlyphs
  19334. æFc Graphics Routines.h
  19335. æT function
  19336. æD
  19337. long GXGetGlyphs(gxShape source, long *charCount, unsigned char text[],
  19338.                  gxPoint positions[], long advance[], gxPoint tangents[],
  19339.                  long *runCount, short styleRuns[], gxStyle glyphStyles[])
  19340.     GXInlineCode(0x7f, gxNeedClient|gxNeedHeap|gxNeedStack);
  19341.  
  19342. æC
  19343.  
  19344. Returns byte length of glyphs
  19345.  
  19346. æKY GXGetLine
  19347. æFc Graphics Routines.h
  19348. æT function
  19349. æD
  19350. gxLine *GXGetLine(gxShape source, gxLine *data)
  19351.     GXInlineCode(0x80, gxNeedClient|gxNeedHeap|gxNeedStack);
  19352.  
  19353. æKY GXGetPaths
  19354. æFc Graphics Routines.h
  19355. æT function
  19356. æD
  19357. long GXGetPaths(gxShape source, gxPaths *data)
  19358.     GXInlineCode(0x81, gxNeedClient|gxNeedHeap|gxNeedStack);                                    /* returns byte length */
  19359.  
  19360. æKY GXGetPicture
  19361. æFc Graphics Routines.h
  19362. æT function
  19363. æD
  19364. long GXGetPicture(gxShape source, gxShape shapes[], gxStyle styles[], gxInk inks[],
  19365.                   gxTransform transforms[])
  19366.     GXInlineCode(0x82, gxNeedClient|gxNeedHeap|gxNeedStack);
  19367.  
  19368. æC
  19369.  
  19370. Returns count */
  19371.  
  19372. æKY GXGetPoint
  19373. æFc Graphics Routines.h
  19374. æT function
  19375. æD
  19376. gxPoint *GXGetPoint(gxShape source, gxPoint *data)
  19377.     GXInlineCode(0x83, gxNeedClient|gxNeedHeap|gxNeedStack);
  19378.  
  19379. æKY GXGetPolygons
  19380. æFc Graphics Routines.h
  19381. æT function
  19382. æD
  19383. long GXGetPolygons(gxShape source, gxPolygons *data)
  19384.     GXInlineCode(0x84, gxNeedClient|gxNeedHeap|gxNeedStack);                            /* returns byte length */
  19385.  
  19386. æKY GXGetRectangle
  19387. æFc Graphics Routines.h
  19388. æT function
  19389. æD
  19390. gxRectangle *GXGetRectangle(gxShape source, gxRectangle *data)
  19391.     GXInlineCode(0x85, gxNeedClient|gxNeedHeap|gxNeedStack);
  19392.  
  19393. æKY GXGetText
  19394. æFc Graphics Routines.h
  19395. æT function
  19396. æD
  19397. long GXGetText(gxShape source, long *charCount, unsigned char text[],
  19398.                gxPoint *position)
  19399.     GXInlineCode(0x86, gxNeedClient|gxNeedHeap|gxNeedStack);
  19400.  
  19401. æC
  19402.  
  19403. Returns byte length */
  19404.  
  19405. æKY GXSetBitmap
  19406. æFc Graphics Routines.h
  19407. æT function
  19408. æD
  19409. void GXSetBitmap(gxShape target, const gxBitmap *data, const gxPoint *position)
  19410.     GXInlineCode(0x87, gxNeedClient|gxNeedHeap|gxNeedStack);
  19411.  
  19412. æKY GXSetCurve
  19413. æFc Graphics Routines.h
  19414. æT function
  19415. æD
  19416. void GXSetCurve(gxShape target, const gxCurve *data)
  19417.     GXInlineCode(0x88, gxNeedClient|gxNeedHeap|gxNeedStack);
  19418.  
  19419. æKY GXSetGlyphs
  19420. æFc Graphics Routines.h
  19421. æT function
  19422. æD
  19423. void GXSetGlyphs(gxShape target, long charCount, const unsigned char text[],
  19424.                  const gxPoint positions[], const long advance[],
  19425.                  const gxPoint tangents[], const short styleRuns[],
  19426.                  const gxStyle glyphStyles[])
  19427.     GXInlineCode(0x89, gxNeedClient|gxNeedHeap|gxNeedStack);
  19428.  
  19429. æKY GXSetLine
  19430. æFc Graphics Routines.h
  19431. æT function
  19432. æD
  19433. void GXSetLine(gxShape target, const gxLine *data)
  19434.     GXInlineCode(0x8a, gxNeedClient|gxNeedHeap|gxNeedStack);
  19435.  
  19436. æKY GXSetPaths
  19437. æFc Graphics Routines.h
  19438. æT function
  19439. æD
  19440. void GXSetPaths(gxShape target, const gxPaths *data)
  19441.     GXInlineCode(0x8b, gxNeedClient|gxNeedHeap|gxNeedStack);
  19442.  
  19443. æKY GXSetPicture
  19444. æFc Graphics Routines.h
  19445. æT function
  19446. æD
  19447. void GXSetPicture(gxShape target, long count, const gxShape shapes[],
  19448.                   const gxStyle styles[], const gxInk inks[],
  19449.                   const gxTransform transforms[])
  19450.     GXInlineCode(0x8c, gxNeedClient|gxNeedHeap|gxNeedStack);
  19451.  
  19452. æKY GXSetPoint
  19453. æFc Graphics Routines.h
  19454. æT function
  19455. æD
  19456. void GXSetPoint(gxShape target, const gxPoint *data)
  19457.     GXInlineCode(0x8d, gxNeedClient|gxNeedHeap|gxNeedStack);
  19458.  
  19459. æKY GXSetPolygons
  19460. æFc Graphics Routines.h
  19461. æT function
  19462. æD
  19463. void GXSetPolygons(gxShape target, const gxPolygons *data)
  19464.     GXInlineCode(0x8e, gxNeedClient|gxNeedHeap|gxNeedStack);
  19465.  
  19466. æKY GXSetRectangle
  19467. æFc Graphics Routines.h
  19468. æT function
  19469. æD
  19470. void GXSetRectangle(gxShape target, const gxRectangle *data)
  19471.     GXInlineCode(0x8f, gxNeedClient|gxNeedHeap|gxNeedStack);
  19472.  
  19473. æKY GXSetText
  19474. æFc Graphics Routines.h
  19475. æT function
  19476. æD
  19477. void GXSetText(gxShape target, long charCount, const unsigned char text[],
  19478.                const gxPoint *position)
  19479.     GXInlineCode(0x90, gxNeedClient|gxNeedHeap|gxNeedStack);
  19480.  
  19481. æKY GXDrawBitmap
  19482. æFc Graphics Routines.h
  19483. æT function
  19484. æD
  19485. void GXDrawBitmap(const gxBitmap *data, const gxPoint *position)
  19486.     GXInlineCode(0x91, gxNeedClient|gxNeedHeap|gxNeedStack);
  19487.  
  19488. æKY GXDrawCurve
  19489. æFc Graphics Routines.h
  19490. æT function
  19491. æD
  19492. void GXDrawCurve(const gxCurve *data)
  19493.     GXInlineCode(0x92, gxNeedClient|gxNeedHeap|gxNeedStack);
  19494.  
  19495. æKY GXDrawGlyphs
  19496. æFc Graphics Routines.h
  19497. æT function
  19498. æD
  19499. void GXDrawGlyphs(long charCount, const unsigned char text[],
  19500.                   const gxPoint positions[], const long advance[],
  19501.                   const gxPoint tangents[], const short styleRuns[],
  19502.                   const gxStyle glyphStyles[])
  19503.     GXInlineCode(0x93, gxNeedClient|gxNeedHeap|gxNeedStack);
  19504.  
  19505. æKY GXDrawLine
  19506. æFc Graphics Routines.h
  19507. æT function
  19508. æD
  19509. void GXDrawLine(const gxLine *data)
  19510.     GXInlineCode(0x94, gxNeedClient|gxNeedHeap|gxNeedStack);
  19511.  
  19512. æKY GXDrawPaths
  19513. æFc Graphics Routines.h
  19514. æT function
  19515. æD
  19516. void GXDrawPaths(const gxPaths *data, gxShapeFill fill)
  19517.     GXInlineCode(0x95, gxNeedClient|gxNeedHeap|gxNeedStack);
  19518.  
  19519. æKY GXDrawPicture
  19520. æFc Graphics Routines.h
  19521. æT function
  19522. æD
  19523. void GXDrawPicture(long count, const gxShape shapes[], const gxStyle styles[],
  19524.                    const gxInk inks[], const gxTransform transforms[])
  19525.     GXInlineCode(0x96, gxNeedClient|gxNeedHeap|gxNeedStack);
  19526.  
  19527. æKY GXDrawPoint
  19528. æFc Graphics Routines.h
  19529. æT function
  19530. æD
  19531. void GXDrawPoint(const gxPoint *data)
  19532.     GXInlineCode(0x97, gxNeedClient|gxNeedHeap|gxNeedStack);
  19533.  
  19534. æKY GXDrawPolygons
  19535. æFc Graphics Routines.h
  19536. æT function
  19537. æD
  19538. void GXDrawPolygons(const gxPolygons *data, gxShapeFill fill)
  19539.     GXInlineCode(0x98, gxNeedClient|gxNeedHeap|gxNeedStack);
  19540.  
  19541. æKY GXDrawRectangle
  19542. æFc Graphics Routines.h
  19543. æT function
  19544. æD
  19545. void GXDrawRectangle(const gxRectangle *data, gxShapeFill fill)
  19546.     GXInlineCode(0x99, gxNeedClient|gxNeedHeap|gxNeedStack);
  19547.  
  19548. æKY GXDrawText
  19549. æFc Graphics Routines.h
  19550. æT function
  19551. æD
  19552. void GXDrawText(long charCount, const unsigned char text[], const gxPoint *position)
  19553.     GXInlineCode(0x9a, gxNeedClient|gxNeedHeap|gxNeedStack);
  19554.  
  19555. æKY GXNewColorProfile
  19556. æFc Graphics Routines.h
  19557. æT function
  19558. æD
  19559. gxColorProfile GXNewColorProfile(long size, void *colorProfileData)
  19560.     GXInlineCode(0x9b, gxNeedClient|gxNeedHeap|gxNeedStack);
  19561.  
  19562. æKY GXNewColorSet
  19563. æFc Graphics Routines.h
  19564. æT function
  19565. æD
  19566. gxColorSet GXNewColorSet(gxColorSpace space, long count, const gxSetColor colors[])
  19567.     GXInlineCode(0x9c, gxNeedClient|gxNeedHeap|gxNeedStack);
  19568.  
  19569. æKY GXNewInk
  19570. æFc Graphics Routines.h
  19571. æT function
  19572. æD
  19573. gxInk GXNewInk(void)
  19574.     GXInlineCode(0x9d, gxNeedClient|gxNeedHeap|gxNeedStack);
  19575.  
  19576. æKY GXNewShape
  19577. æFc Graphics Routines.h
  19578. æT function
  19579. æD
  19580. gxShape GXNewShape(gxShapeType aType)
  19581.     GXInlineCode(0x9e, gxNeedClient|gxNeedHeap|gxNeedStack);
  19582.  
  19583. æKY GXNewStyle
  19584. æFc Graphics Routines.h
  19585. æT function
  19586. æD
  19587. gxStyle GXNewStyle(void)
  19588.     GXInlineCode(0x9f, gxNeedClient|gxNeedHeap|gxNeedStack);
  19589.  
  19590. æKY GXNewTag
  19591. æFc Graphics Routines.h
  19592. æT function
  19593. æD
  19594. gxTag GXNewTag(long tagType, long length, const void *data)
  19595.     GXInlineCode(0xa0, gxNeedClient|gxNeedHeap|gxNeedStack);
  19596.  
  19597. æKY GXNewTransform
  19598. æFc Graphics Routines.h
  19599. æT function
  19600. æD
  19601. gxTransform GXNewTransform(void)
  19602.     GXInlineCode(0xa1, gxNeedClient|gxNeedHeap|gxNeedStack);
  19603.  
  19604. æKY GXNewViewDevice
  19605. æFc Graphics Routines.h
  19606. æT function
  19607. æD
  19608. gxViewDevice GXNewViewDevice(gxViewGroup group, gxShape bitmapShape)
  19609.     GXInlineCode(0xa2, gxNeedClient|gxNeedHeap|gxNeedStack);
  19610.  
  19611. æKY GXNewViewGroup
  19612. æFc Graphics Routines.h
  19613. æT function
  19614. æD
  19615. gxViewGroup GXNewViewGroup(void)
  19616.     GXInlineCode(0xa3, gxNeedClient|gxNeedHeap|gxNeedStack);
  19617.  
  19618. æKY GXNewViewPort
  19619. æFc Graphics Routines.h
  19620. æT function
  19621. æD
  19622. gxViewPort GXNewViewPort(gxViewGroup group)
  19623.     GXInlineCode(0xa4, gxNeedClient|gxNeedHeap|gxNeedStack);
  19624.  
  19625.  
  19626. æKY GXDisposeColorProfile
  19627. æFc Graphics Routines.h
  19628. æT function
  19629. æD
  19630. void GXDisposeColorProfile(gxColorProfile target)
  19631.     GXInlineCode(0xa5, gxNeedClient|gxNeedHeap|gxNeedStack);
  19632.  
  19633. æKY GXDisposeColorSet
  19634. æFc Graphics Routines.h
  19635. æT function
  19636. æD
  19637. void GXDisposeColorSet(gxColorSet target)
  19638.     GXInlineCode(0xa6, gxNeedClient|gxNeedHeap|gxNeedStack);
  19639.  
  19640. æKY GXDisposeInk
  19641. æFc Graphics Routines.h
  19642. æT function
  19643. æD
  19644. void GXDisposeInk(gxInk target)
  19645.     GXInlineCode(0xa7, gxNeedClient|gxNeedHeap|gxNeedStack);
  19646.  
  19647. æKY GXDisposeShape
  19648. æFc Graphics Routines.h
  19649. æT function
  19650. æD
  19651. void GXDisposeShape(gxShape target)
  19652.     GXInlineCode(0xa8, gxNeedClient|gxNeedHeap|gxNeedStack);
  19653.  
  19654. æKY GXDisposeStyle
  19655. æFc Graphics Routines.h
  19656. æT function
  19657. æD
  19658. void GXDisposeStyle(gxStyle target)
  19659.     GXInlineCode(0xa9, gxNeedClient|gxNeedHeap|gxNeedStack);
  19660.  
  19661. æKY GXDisposeTag
  19662. æFc Graphics Routines.h
  19663. æT function
  19664. æD
  19665. void GXDisposeTag(gxTag target)
  19666.     GXInlineCode(0xaa, gxNeedClient|gxNeedHeap|gxNeedStack);
  19667.  
  19668. æKY GXDisposeTransform
  19669. æFc Graphics Routines.h
  19670. æT function
  19671. æD
  19672. void GXDisposeTransform(gxTransform target)
  19673.     GXInlineCode(0xab, gxNeedClient|gxNeedHeap|gxNeedStack);
  19674.  
  19675. æKY GXDisposeViewDevice
  19676. æFc Graphics Routines.h
  19677. æT function
  19678. æD
  19679. void GXDisposeViewDevice(gxViewDevice target)
  19680.     GXInlineCode(0xac, gxNeedClient|gxNeedHeap|gxNeedStack);
  19681.  
  19682. æKY GXDisposeViewGroup
  19683. æFc Graphics Routines.h
  19684. æT function
  19685. æD
  19686. void GXDisposeViewGroup(gxViewGroup target)
  19687.     GXInlineCode(0xad, gxNeedClient|gxNeedHeap|gxNeedStack);
  19688.  
  19689. æKY GXDisposeViewPort
  19690. æFc Graphics Routines.h
  19691. æT function
  19692. æD
  19693. void GXDisposeViewPort(gxViewPort target)
  19694.     GXInlineCode(0xae, gxNeedClient|gxNeedHeap|gxNeedStack);
  19695.  
  19696. æKY GXCloneColorProfile
  19697. æFc Graphics Routines.h
  19698. æT function
  19699. æD
  19700. gxColorProfile GXCloneColorProfile(gxColorProfile source)
  19701.     GXInlineCode(0xaf, gxNeedClient|gxNeedHeap|gxNeedStack);
  19702.  
  19703. æKY GXCloneColorSet
  19704. æFc Graphics Routines.h
  19705. æT function
  19706. æD
  19707. gxColorSet GXCloneColorSet(gxColorSet source)
  19708.     GXInlineCode(0xb0, gxNeedClient|gxNeedHeap|gxNeedStack);
  19709.  
  19710. æKY GXCloneInk
  19711. æFc Graphics Routines.h
  19712. æT function
  19713. æD
  19714. gxInk GXCloneInk(gxInk source)
  19715.     GXInlineCode(0xb1, gxNeedClient|gxNeedHeap|gxNeedStack);
  19716.  
  19717. æKY GXCloneShape
  19718. æFc Graphics Routines.h
  19719. æT function
  19720. æD
  19721. gxShape GXCloneShape(gxShape source)
  19722.     GXInlineCode(0xb2, gxNeedClient|gxNeedHeap|gxNeedStack);
  19723.  
  19724. æKY GXCloneStyle
  19725. æFc Graphics Routines.h
  19726. æT function
  19727. æD
  19728. gxStyle GXCloneStyle(gxStyle source)
  19729.     GXInlineCode(0xb3, gxNeedClient|gxNeedHeap|gxNeedStack);
  19730.  
  19731. æKY GXCloneTag
  19732. æFc Graphics Routines.h
  19733. æT function
  19734. æD
  19735. gxTag GXCloneTag(gxTag source)
  19736.     GXInlineCode(0xb4, gxNeedClient|gxNeedHeap|gxNeedStack);
  19737.  
  19738. æKY GXCloneTransform
  19739. æFc Graphics Routines.h
  19740. æT function
  19741. æD
  19742. gxTransform GXCloneTransform(gxTransform source)
  19743.     GXInlineCode(0xb5, gxNeedClient|gxNeedHeap|gxNeedStack);
  19744.  
  19745. æKY GXCopyToColorProfile
  19746. æFc Graphics Routines.h
  19747. æT function
  19748. æD
  19749. gxColorProfile GXCopyToColorProfile(gxColorProfile target, gxColorProfile source)
  19750.     GXInlineCode(0xb6, gxNeedClient|gxNeedHeap|gxNeedStack);
  19751.  
  19752. æKY GXCopyToColorSet
  19753. æFc Graphics Routines.h
  19754. æT function
  19755. æD
  19756. gxColorSet GXCopyToColorSet(gxColorSet target, gxColorSet source)
  19757.     GXInlineCode(0xb7, gxNeedClient|gxNeedHeap|gxNeedStack);
  19758.  
  19759. æKY GXCopyToInk
  19760. æFc Graphics Routines.h
  19761. æT function
  19762. æD
  19763. gxInk GXCopyToInk(gxInk target, gxInk source)
  19764.     GXInlineCode(0xb8, gxNeedClient|gxNeedHeap|gxNeedStack);
  19765.  
  19766. æKY GXCopyToShape
  19767. æFc Graphics Routines.h
  19768. æT function
  19769. æD
  19770. gxShape GXCopyToShape(gxShape target, gxShape source)
  19771.     GXInlineCode(0xb9, gxNeedClient|gxNeedHeap|gxNeedStack);
  19772.  
  19773. æKY GXCopyToStyle
  19774. æFc Graphics Routines.h
  19775. æT function
  19776. æD
  19777. gxStyle GXCopyToStyle(gxStyle target, gxStyle source)
  19778.     GXInlineCode(0xba, gxNeedClient|gxNeedHeap|gxNeedStack);
  19779.  
  19780. æKY GXCopyToTag
  19781. æFc Graphics Routines.h
  19782. æT function
  19783. æD
  19784. gxTag GXCopyToTag(gxTag target, gxTag source)
  19785.     GXInlineCode(0xbb, gxNeedClient|gxNeedHeap|gxNeedStack);
  19786.  
  19787. æKY GXCopyToTransform
  19788. æFc Graphics Routines.h
  19789. æT function
  19790. æD
  19791. gxTransform GXCopyToTransform(gxTransform target, gxTransform source)
  19792.     GXInlineCode(0xbc, gxNeedClient|gxNeedHeap|gxNeedStack);
  19793.  
  19794. æKY GXCopyToViewDevice
  19795. æFc Graphics Routines.h
  19796. æT function
  19797. æD
  19798. gxViewDevice GXCopyToViewDevice(gxViewDevice target, gxViewDevice source)
  19799.     GXInlineCode(0xbd, gxNeedClient|gxNeedHeap|gxNeedStack);
  19800.  
  19801. æKY GXCopyToViewPort
  19802. æFc Graphics Routines.h
  19803. æT function
  19804. æD
  19805. gxViewPort GXCopyToViewPort(gxViewPort target, gxViewPort source)
  19806.     GXInlineCode(0xbe, gxNeedClient|gxNeedHeap|gxNeedStack);
  19807.  
  19808. æKY GXEqualColorProfile
  19809. æFc Graphics Routines.h
  19810. æT function
  19811. æD
  19812. boolean GXEqualColorProfile(gxColorProfile one, gxColorProfile two)
  19813.     GXInlineCode(0xbf, gxNeedClient|gxNeedHeap|gxNeedStack);
  19814.  
  19815. æKY GXEqualColorSet
  19816. æFc Graphics Routines.h
  19817. æT function
  19818. æD
  19819. boolean GXEqualColorSet(gxColorSet one, gxColorSet two)
  19820.     GXInlineCode(0xc0, gxNeedClient|gxNeedHeap|gxNeedStack);
  19821.  
  19822. æKY GXEqualInk
  19823. æFc Graphics Routines.h
  19824. æT function
  19825. æD
  19826. boolean GXEqualInk(gxInk one, gxInk two)
  19827.     GXInlineCode(0xc1, gxNeedClient|gxNeedHeap|gxNeedStack);
  19828.  
  19829. æKY GXEqualShape
  19830. æFc Graphics Routines.h
  19831. æT function
  19832. æD
  19833. boolean GXEqualShape(gxShape one, gxShape two)
  19834.     GXInlineCode(0xc2, gxNeedClient|gxNeedHeap|gxNeedStack);
  19835.  
  19836. æKY GXEqualStyle
  19837. æFc Graphics Routines.h
  19838. æT function
  19839. æD
  19840. boolean GXEqualStyle(gxStyle one, gxStyle two)
  19841.     GXInlineCode(0xc3, gxNeedClient|gxNeedHeap|gxNeedStack);
  19842.  
  19843. æKY GXEqualTag
  19844. æFc Graphics Routines.h
  19845. æT function
  19846. æD
  19847. boolean GXEqualTag(gxTag one, gxTag two)
  19848.     GXInlineCode(0xc4, gxNeedClient|gxNeedHeap|gxNeedStack);
  19849.  
  19850. æKY GXEqualTransform
  19851. æFc Graphics Routines.h
  19852. æT function
  19853. æD
  19854. boolean GXEqualTransform(gxTransform one, gxTransform two)
  19855.     GXInlineCode(0xc5, gxNeedClient|gxNeedHeap|gxNeedStack);
  19856.  
  19857. æKY GXEqualViewDevice
  19858. æFc Graphics Routines.h
  19859. æT function
  19860. æD
  19861. boolean GXEqualViewDevice(gxViewDevice one, gxViewDevice two)
  19862.     GXInlineCode(0xc6, gxNeedClient|gxNeedHeap|gxNeedStack);
  19863.  
  19864. æKY GXEqualViewPort
  19865. æFc Graphics Routines.h
  19866. æT function
  19867. æD
  19868. boolean GXEqualViewPort(gxViewPort one, gxViewPort two)
  19869.     GXInlineCode(0xc7, gxNeedClient|gxNeedHeap|gxNeedStack);
  19870.  
  19871. æKY GXResetInk
  19872. æFc Graphics Routines.h
  19873. æT function
  19874. æD
  19875. void GXResetInk(gxInk target)
  19876.     GXInlineCode(0xc8, gxNeedClient|gxNeedHeap|gxNeedStack);
  19877.  
  19878. æKY GXResetShape
  19879. æFc Graphics Routines.h
  19880. æT function
  19881. æD
  19882. void GXResetShape(gxShape target)
  19883.     GXInlineCode(0xc9, gxNeedClient|gxNeedHeap|gxNeedStack);
  19884.  
  19885. æKY GXResetStyle
  19886. æFc Graphics Routines.h
  19887. æT function
  19888. æD
  19889. void GXResetStyle(gxStyle target)
  19890.     GXInlineCode(0xca, gxNeedClient|gxNeedHeap|gxNeedStack);
  19891.  
  19892. æKY GXResetTransform
  19893. æFc Graphics Routines.h
  19894. æT function
  19895. æD
  19896. void GXResetTransform(gxTransform target)
  19897.     GXInlineCode(0xcb, gxNeedClient|gxNeedHeap|gxNeedStack);
  19898.  
  19899. æKY GXLoadColorProfile
  19900. æFc Graphics Routines.h
  19901. æT function
  19902. æD
  19903. void GXLoadColorProfile(gxColorProfile target)
  19904.     GXInlineCode(0xcc, gxNeedClient|gxNeedHeap|gxNeedStack);
  19905.  
  19906. æKY GXLoadColorSet
  19907. æFc Graphics Routines.h
  19908. æT function
  19909. æD
  19910. void GXLoadColorSet(gxColorSet target)
  19911.     GXInlineCode(0xcd, gxNeedClient|gxNeedHeap|gxNeedStack);
  19912.  
  19913. æKY GXLoadInk
  19914. æFc Graphics Routines.h
  19915. æT function
  19916. æD
  19917. void GXLoadInk(gxInk target)
  19918.     GXInlineCode(0xce, gxNeedClient|gxNeedHeap|gxNeedStack);
  19919.  
  19920. æKY GXLoadShape
  19921. æFc Graphics Routines.h
  19922. æT function
  19923. æD
  19924. void GXLoadShape(gxShape target)
  19925.     GXInlineCode(0xcf, gxNeedClient|gxNeedHeap|gxNeedStack);
  19926.  
  19927. æKY GXLoadStyle
  19928. æFc Graphics Routines.h
  19929. æT function
  19930. æD
  19931. void GXLoadStyle(gxStyle target)
  19932.     GXInlineCode(0xd0, gxNeedClient|gxNeedHeap|gxNeedStack);
  19933.  
  19934. æKY GXLoadTag
  19935. æFc Graphics Routines.h
  19936. æT function
  19937. æD
  19938. void GXLoadTag(gxTag target)
  19939.     GXInlineCode(0xd1, gxNeedClient|gxNeedHeap|gxNeedStack);
  19940.  
  19941. æKY GXLoadTransform
  19942. æFc Graphics Routines.h
  19943. æT function
  19944. æD
  19945. void GXLoadTransform(gxTransform target)
  19946.     GXInlineCode(0xd2, gxNeedClient|gxNeedHeap|gxNeedStack);
  19947.  
  19948. æKY GXUnloadColorProfile
  19949. æFc Graphics Routines.h
  19950. æT function
  19951. æD
  19952. void GXUnloadColorProfile(gxColorProfile target)
  19953.     GXInlineCode(0xd3, gxNeedClient|gxNeedHeap|gxNeedStack);
  19954.  
  19955. æKY GXUnloadColorSet
  19956. æFc Graphics Routines.h
  19957. æT function
  19958. æD
  19959. void GXUnloadColorSet(gxColorSet target)
  19960.     GXInlineCode(0xd4, gxNeedClient|gxNeedHeap|gxNeedStack);
  19961.  
  19962. æKY GXUnloadInk
  19963. æFc Graphics Routines.h
  19964. æT function
  19965. æD
  19966. void GXUnloadInk(gxInk target)
  19967.     GXInlineCode(0xd5, gxNeedClient|gxNeedHeap|gxNeedStack);
  19968.  
  19969. æKY GXUnloadShape
  19970. æFc Graphics Routines.h
  19971. æT function
  19972. æD
  19973. void GXUnloadShape(gxShape target)
  19974.     GXInlineCode(0xd6, gxNeedClient|gxNeedHeap|gxNeedStack);
  19975.  
  19976. æKY GXUnloadStyle
  19977. æFc Graphics Routines.h
  19978. æT function
  19979. æD
  19980. void GXUnloadStyle(gxStyle target)
  19981.     GXInlineCode(0xd7, gxNeedClient|gxNeedHeap|gxNeedStack);
  19982.  
  19983. æKY GXUnloadTag
  19984. æFc Graphics Routines.h
  19985. æT function
  19986. æD
  19987. void GXUnloadTag(gxTag target)
  19988.     GXInlineCode(0xd8, gxNeedClient|gxNeedHeap|gxNeedStack);
  19989.  
  19990. æKY GXUnloadTransform
  19991. æFc Graphics Routines.h
  19992. æT function
  19993. æD
  19994. void GXUnloadTransform(gxTransform target)
  19995.     GXInlineCode(0xd9, gxNeedClient|gxNeedHeap|gxNeedStack);
  19996.  
  19997. æKY GXCacheShape
  19998. æFc Graphics Routines.h
  19999. æT function
  20000. æD
  20001. void GXCacheShape(gxShape source)
  20002.     GXInlineCode(0xda, gxNeedClient|gxNeedHeap|gxNeedStack);
  20003.  
  20004. æKY GXCopyDeepToShape
  20005. æFc Graphics Routines.h
  20006. æT function
  20007. æD
  20008. gxShape GXCopyDeepToShape(gxShape target, gxShape source)
  20009.     GXInlineCode(0xdb, gxNeedClient|gxNeedHeap|gxNeedStack);
  20010.  
  20011. æKY GXDrawShape
  20012. æFc Graphics Routines.h
  20013. æT function
  20014. æD
  20015. void GXDrawShape(gxShape source)
  20016.     GXInlineCode(0xdc, gxNeedClient|gxNeedHeap|gxNeedStack);
  20017.  
  20018. æKY GXDisposeShapeCache
  20019. æFc Graphics Routines.h
  20020. æT function
  20021. æD
  20022. void GXDisposeShapeCache(gxShape target)
  20023.     GXInlineCode(0xdd, gxNeedClient|gxNeedHeap|gxNeedStack);
  20024.  
  20025. æKY GXGetDefaultColorProfile
  20026. æFc Graphics Routines.h
  20027. æT function
  20028. æD
  20029. gxColorProfile GXGetDefaultColorProfile(void)
  20030.     GXInlineCode(0xde, gxNeedClient|gxNeedHeap|gxNeedStack);
  20031.  
  20032. æKY GXGetDefaultShape
  20033. æFc Graphics Routines.h
  20034. æT function
  20035. æD
  20036. gxShape GXGetDefaultShape(gxShapeType aType)
  20037.     GXInlineCode(0xdf, gxNeedClient|gxNeedHeap|gxNeedStack);
  20038.  
  20039. æKY GXGetDefaultColorSet
  20040. æFc Graphics Routines.h
  20041. æT function
  20042. æD
  20043. gxColorSet GXGetDefaultColorSet( long pixelDepth )
  20044.     GXInlineCode(0xe0, gxNeedClient|gxNeedHeap|gxNeedStack);
  20045.  
  20046. æKY GXSetDefaultShape
  20047. æFc Graphics Routines.h
  20048. æT function
  20049. æD
  20050. void GXSetDefaultShape(gxShape target)
  20051.     GXInlineCode(0xe1, gxNeedClient|gxNeedHeap|gxNeedStack);
  20052.  
  20053. æKY GXSetDefaultColorSet
  20054. æFc Graphics Routines.h
  20055. æT function
  20056. æD
  20057. void GXSetDefaultColorSet( gxColorSet target, long pixelDepth )
  20058.     GXInlineCode(0xe2, gxNeedClient|gxNeedHeap|gxNeedStack);
  20059.  
  20060. æKY GXGetTag
  20061. æFc Graphics Routines.h
  20062. æT function
  20063. æD
  20064. long GXGetTag(gxTag source, long *tagType, void *data)
  20065.     GXInlineCode(0xe3, gxNeedClient|gxNeedHeap|gxNeedStack);
  20066.  
  20067. æKY GXSetTag
  20068. æFc Graphics Routines.h
  20069. æT function
  20070. æD
  20071. void GXSetTag(gxTag target, long tagType, long length, const void *data)
  20072.     GXInlineCode(0xe4, gxNeedClient|gxNeedHeap|gxNeedStack);
  20073.  
  20074. æKY GXGetShapeBounds
  20075. æFc Graphics Routines.h
  20076. æT function
  20077. æD
  20078. gxRectangle *GXGetShapeBounds(gxShape source, long index, gxRectangle *bounds)
  20079.     GXInlineCode(0xe5, gxNeedClient|gxNeedHeap|gxNeedStack);
  20080.  
  20081. æKY GXGetShapeFill
  20082. æFc Graphics Routines.h
  20083. æT function
  20084. æD
  20085. gxShapeFill GXGetShapeFill(gxShape source)
  20086.     GXInlineCode(0xe6, gxNeedClient|gxNeedHeap|gxNeedStack);
  20087.  
  20088. æKY GXGetShapeInk
  20089. æFc Graphics Routines.h
  20090. æT function
  20091. æD
  20092. gxInk GXGetShapeInk(gxShape source)
  20093.     GXInlineCode(0xe7, gxNeedClient|gxNeedHeap|gxNeedStack);
  20094.  
  20095. æKY GXGetShapePixel
  20096. æFc Graphics Routines.h
  20097. æT function
  20098. æD
  20099. long GXGetShapePixel(gxShape source, long x, long y, gxColor *data, long *index)
  20100.     GXInlineCode(0xe8, gxNeedClient|gxNeedHeap|gxNeedStack);
  20101.  
  20102. æKY GXGetShapeStyle
  20103. æFc Graphics Routines.h
  20104. æT function
  20105. æD
  20106. gxStyle GXGetShapeStyle(gxShape source)
  20107.     GXInlineCode(0xe9, gxNeedClient|gxNeedHeap|gxNeedStack);
  20108.  
  20109. æKY GXGetShapeTransform
  20110. æFc Graphics Routines.h
  20111. æT function
  20112. æD
  20113. gxTransform GXGetShapeTransform(gxShape source)
  20114.     GXInlineCode(0xea, gxNeedClient|gxNeedHeap|gxNeedStack);
  20115.  
  20116. æKY GXGetShapeType
  20117. æFc Graphics Routines.h
  20118. æT function
  20119. æD
  20120. gxShapeType GXGetShapeType(gxShape source)
  20121.     GXInlineCode(0xeb, gxNeedClient|gxNeedHeap|gxNeedStack);
  20122.  
  20123. æKY GXGetShapeTypographicBounds
  20124. æFc Graphics Routines.h
  20125. æT function
  20126. æD
  20127. gxRectangle *GXGetShapeTypographicBounds(gxShape source, gxRectangle *bounds)
  20128.     GXInlineCode(0xec, gxNeedClient|gxNeedHeap|gxNeedStack);
  20129.  
  20130. æKY GXGetBitmapParts
  20131. æFc Graphics Routines.h
  20132. æT function
  20133. æD
  20134. gxShape GXGetBitmapParts(gxShape source, const gxLongRectangle *bounds)
  20135.     GXInlineCode(0xed, gxNeedClient|gxNeedHeap|gxNeedStack);
  20136.  
  20137. æKY GXGetStyleFontMetrics
  20138. æFc Graphics Routines.h
  20139. æT function
  20140. æD
  20141. void GXGetStyleFontMetrics(gxStyle sourceStyle, gxPoint* before, gxPoint* after,
  20142.                            gxPoint* caretAngle, gxPoint* caretOffset)
  20143.     GXInlineCode(0xee, gxNeedClient|gxNeedHeap|gxNeedStack);
  20144.  
  20145. æKY GXGetShapeFontMetrics
  20146. æFc Graphics Routines.h
  20147. æT function
  20148. æD
  20149. void GXGetShapeFontMetrics(gxShape source, gxPoint* before, gxPoint* after,
  20150.                            gxPoint* caretAngle, gxPoint* caretOffset)
  20151.     GXInlineCode(0xef, gxNeedClient|gxNeedHeap|gxNeedStack);
  20152.  
  20153. æKY GXSetShapeBounds
  20154. æFc Graphics Routines.h
  20155. æT function
  20156. æD
  20157. void GXSetShapeBounds(gxShape target, const gxRectangle *newBounds)
  20158.     GXInlineCode(0xf0, gxNeedClient|gxNeedHeap|gxNeedStack);
  20159.  
  20160. æKY GXSetShapeFill
  20161. æFc Graphics Routines.h
  20162. æT function
  20163. æD
  20164. void GXSetShapeFill(gxShape target, gxShapeFill newFill)
  20165.     GXInlineCode(0xf1, gxNeedClient|gxNeedHeap|gxNeedStack);
  20166.  
  20167. æKY GXSetShapeInk
  20168. æFc Graphics Routines.h
  20169. æT function
  20170. æD
  20171. void GXSetShapeInk(gxShape target, gxInk newInk)
  20172.     GXInlineCode(0xf2, gxNeedClient|gxNeedHeap|gxNeedStack);
  20173.  
  20174. æKY GXSetShapePixel
  20175. æFc Graphics Routines.h
  20176. æT function
  20177. æD
  20178. void GXSetShapePixel(gxShape target, long x, long y, const gxColor *newColor,
  20179.                      long newIndex)
  20180.     GXInlineCode(0xf3, gxNeedClient|gxNeedHeap|gxNeedStack);
  20181.  
  20182. æKY GXSetShapeStyle
  20183. æFc Graphics Routines.h
  20184. æT function
  20185. æD
  20186. void GXSetShapeStyle(gxShape target, gxStyle newStyle)
  20187.     GXInlineCode(0xf4, gxNeedClient|gxNeedHeap|gxNeedStack);
  20188.  
  20189. æKY GXSetShapeTransform
  20190. æFc Graphics Routines.h
  20191. æT function
  20192. æD
  20193. void GXSetShapeTransform(gxShape target, gxTransform newTransform)
  20194.     GXInlineCode(0xf5, gxNeedClient|gxNeedHeap|gxNeedStack);
  20195.  
  20196. æKY GXSetShapeType
  20197. æFc Graphics Routines.h
  20198. æT function
  20199. æD
  20200. void GXSetShapeType(gxShape target, gxShapeType newType)
  20201.     GXInlineCode(0xf6, gxNeedClient|gxNeedHeap|gxNeedStack);
  20202.  
  20203. æKY GXSetBitmapParts
  20204. æFc Graphics Routines.h
  20205. æT function
  20206. æD
  20207. void GXSetBitmapParts(gxShape target, const gxLongRectangle *bounds,
  20208.                       gxShape bitmapShape)
  20209.     GXInlineCode(0xf7, gxNeedClient|gxNeedHeap|gxNeedStack);
  20210.  
  20211. æKY GXSetShapeGeometry
  20212. æFc Graphics Routines.h
  20213. æT function
  20214. æD
  20215. void GXSetShapeGeometry(gxShape target, gxShape geometry)
  20216.     GXInlineCode(0xf8, gxNeedClient|gxNeedHeap|gxNeedStack);
  20217.  
  20218. æKY GXGetShapeCurveError
  20219. æFc Graphics Routines.h
  20220. æT function
  20221. æD
  20222. Fixed GXGetShapeCurveError(gxShape source)
  20223.     GXInlineCode(0xf9, gxNeedClient|gxNeedHeap|gxNeedStack);
  20224.  
  20225. æKY GXGetShapeDash
  20226. æFc Graphics Routines.h
  20227. æT function
  20228. æD
  20229. gxDashRecord *GXGetShapeDash(gxShape source, gxDashRecord *dash)
  20230.     GXInlineCode(0xfa, gxNeedClient|gxNeedHeap|gxNeedStack);
  20231.  
  20232. æKY GXGetShapeCap
  20233. æFc Graphics Routines.h
  20234. æT function
  20235. æD
  20236. gxCapRecord *GXGetShapeCap(gxShape source, gxCapRecord *cap)
  20237.     GXInlineCode(0xfb, gxNeedClient|gxNeedHeap|gxNeedStack);
  20238.  
  20239. æKY GXGetShapeFace
  20240. æFc Graphics Routines.h
  20241. æT function
  20242. æD
  20243. long GXGetShapeFace(gxShape source, gxTextFace *face)
  20244.     GXInlineCode(0xfc, gxNeedClient|gxNeedHeap|gxNeedStack);
  20245.  
  20246. æC
  20247.  
  20248. Returns the number of layers
  20249.  
  20250. æKY GXGetShapeFont
  20251. æFc Graphics Routines.h
  20252. æT function
  20253. æD
  20254. gxFont GXGetShapeFont(gxShape source)
  20255.     GXInlineCode(0xfd, gxNeedClient|gxNeedHeap|gxNeedStack);
  20256.  
  20257. æKY GXGetShapeJoin
  20258. æFc Graphics Routines.h
  20259. æT function
  20260. æD
  20261. gxJoinRecord *GXGetShapeJoin(gxShape source, gxJoinRecord *join)
  20262.     GXInlineCode(0xfe, gxNeedClient|gxNeedHeap|gxNeedStack);
  20263.  
  20264. æKY GXGetShapeJustification
  20265. æFc Graphics Routines.h
  20266. æT function
  20267. æD
  20268. fract GXGetShapeJustification(gxShape source)
  20269.     GXInlineCode(0xff, gxNeedClient|gxNeedHeap|gxNeedStack);
  20270.  
  20271. æKY GXGetShapePattern
  20272. æFc Graphics Routines.h
  20273. æT function
  20274. æD
  20275. gxPatternRecord *GXGetShapePattern(gxShape source, gxPatternRecord *pattern)
  20276.     GXInlineCode(0x100, gxNeedClient|gxNeedHeap|gxNeedStack);
  20277.  
  20278. æKY GXGetShapePen
  20279. æFc Graphics Routines.h
  20280. æT function
  20281. æD
  20282. Fixed GXGetShapePen(gxShape source)
  20283.     GXInlineCode(0x101, gxNeedClient|gxNeedHeap|gxNeedStack);
  20284.  
  20285. æKY GXGetShapeEncoding
  20286. æFc Graphics Routines.h
  20287. æT function
  20288. æD
  20289. gxFontPlatform GXGetShapeEncoding(gxShape source, gxFontScript *script,
  20290.                                   gxFontLanguage *language)
  20291.     GXInlineCode(0x102, gxNeedClient|gxNeedHeap|gxNeedStack);
  20292.  
  20293. æKY GXGetShapeTextSize
  20294. æFc Graphics Routines.h
  20295. æT function
  20296. æD
  20297. Fixed GXGetShapeTextSize(gxShape source)
  20298.     GXInlineCode(0x103, gxNeedClient|gxNeedHeap|gxNeedStack);
  20299.  
  20300. æKY GXGetShapeFontVariations
  20301. æFc Graphics Routines.h
  20302. æT function
  20303. æD
  20304. long GXGetShapeFontVariations(gxShape source, gxFontVariation variations[])
  20305.     GXInlineCode(0x104, gxNeedClient|gxNeedHeap|gxNeedStack);
  20306.  
  20307. æKY GXGetShapeFontVariationSuite
  20308. æFc Graphics Routines.h
  20309. æT function
  20310. æD
  20311. long GXGetShapeFontVariationSuite(gxShape source, gxFontVariation variations[])
  20312.     GXInlineCode(0x105, gxNeedClient|gxNeedHeap|gxNeedStack);
  20313.  
  20314. æKY GXGetStyleCurveError
  20315. æFc Graphics Routines.h
  20316. æT function
  20317. æD
  20318. Fixed GXGetStyleCurveError(gxStyle source)
  20319.     GXInlineCode(0x106, gxNeedClient|gxNeedHeap|gxNeedStack);
  20320.  
  20321. æKY GXGetStyleDash
  20322. æFc Graphics Routines.h
  20323. æT function
  20324. æD
  20325. gxDashRecord *GXGetStyleDash(gxStyle source, gxDashRecord *dash)
  20326.     GXInlineCode(0x107, gxNeedClient|gxNeedHeap|gxNeedStack);
  20327.  
  20328. æKY GXGetStyleCap
  20329. æFc Graphics Routines.h
  20330. æT function
  20331. æD
  20332. gxCapRecord *GXGetStyleCap(gxStyle source, gxCapRecord *cap)
  20333.     GXInlineCode(0x108, gxNeedClient|gxNeedHeap|gxNeedStack);
  20334.  
  20335. æKY GXGetStyleFace
  20336. æFc Graphics Routines.h
  20337. æT function
  20338. æD
  20339. long GXGetStyleFace(gxStyle source, gxTextFace *face)
  20340.     GXInlineCode(0x109, gxNeedClient|gxNeedHeap|gxNeedStack);
  20341.  
  20342. æC
  20343.  
  20344. Returns the number of layers
  20345.  
  20346. æKY GXGetStyleFont
  20347. æFc Graphics Routines.h
  20348. æT function
  20349. æD
  20350. gxFont GXGetStyleFont(gxStyle source)
  20351.     GXInlineCode(0x10a, gxNeedClient|gxNeedHeap|gxNeedStack);
  20352.  
  20353. æKY GXGetStyleJoin
  20354. æFc Graphics Routines.h
  20355. æT function
  20356. æD
  20357. gxJoinRecord *GXGetStyleJoin(gxStyle source, gxJoinRecord *join)
  20358.     GXInlineCode(0x10b, gxNeedClient|gxNeedHeap|gxNeedStack);
  20359.  
  20360. æKY GXGetStyleJustification
  20361. æFc Graphics Routines.h
  20362. æT function
  20363. æD
  20364. fract GXGetStyleJustification(gxStyle source)
  20365.     GXInlineCode(0x10c, gxNeedClient|gxNeedHeap|gxNeedStack);
  20366.  
  20367. æKY GXGetStylePattern
  20368. æFc Graphics Routines.h
  20369. æT function
  20370. æD
  20371. gxPatternRecord *GXGetStylePattern(gxStyle source, gxPatternRecord *pattern)
  20372.     GXInlineCode(0x10d, gxNeedClient|gxNeedHeap|gxNeedStack);
  20373.  
  20374. æKY GXGetStylePen
  20375. æFc Graphics Routines.h
  20376. æT function
  20377. æD
  20378. Fixed GXGetStylePen(gxStyle source)
  20379.     GXInlineCode(0x10e, gxNeedClient|gxNeedHeap|gxNeedStack);
  20380.  
  20381. æKY GXGetStyleEncoding
  20382. æFc Graphics Routines.h
  20383. æT function
  20384. æD
  20385. gxFontPlatform GXGetStyleEncoding(gxStyle source, gxFontScript *script,
  20386.                                   gxFontLanguage *language)
  20387.     GXInlineCode(0x10f, gxNeedClient|gxNeedHeap|gxNeedStack);
  20388.  
  20389. æKY GXGetStyleTextSize
  20390. æFc Graphics Routines.h
  20391. æT function
  20392. æD
  20393. Fixed GXGetStyleTextSize(gxStyle source)
  20394.     GXInlineCode(0x110, gxNeedClient|gxNeedHeap|gxNeedStack);
  20395.  
  20396. æKY GXGetStyleFontVariations
  20397. æFc Graphics Routines.h
  20398. æT function
  20399. æD
  20400. long GXGetStyleFontVariations(gxStyle source, gxFontVariation variations[])
  20401.     GXInlineCode(0x111, gxNeedClient|gxNeedHeap|gxNeedStack);
  20402.  
  20403. æKY GXGetStyleFontVariationSuite
  20404. æFc Graphics Routines.h
  20405. æT function
  20406. æD
  20407. long GXGetStyleFontVariationSuite(gxStyle source, gxFontVariation variations[])
  20408.     GXInlineCode(0x112, gxNeedClient|gxNeedHeap|gxNeedStack);
  20409.  
  20410. æKY GXSetShapeCurveError
  20411. æFc Graphics Routines.h
  20412. æT function
  20413. æD
  20414. void GXSetShapeCurveError(gxShape target, Fixed error)
  20415.     GXInlineCode(0x113, gxNeedClient|gxNeedHeap|gxNeedStack);
  20416.  
  20417. æKY GXSetShapeDash
  20418. æFc Graphics Routines.h
  20419. æT function
  20420. æD
  20421. void GXSetShapeDash(gxShape target, const gxDashRecord *dash)
  20422.     GXInlineCode(0x114, gxNeedClient|gxNeedHeap|gxNeedStack);
  20423.  
  20424. æKY GXSetShapeCap
  20425. æFc Graphics Routines.h
  20426. æT function
  20427. æD
  20428. void GXSetShapeCap(gxShape target, const gxCapRecord *cap)
  20429.     GXInlineCode(0x115, gxNeedClient|gxNeedHeap|gxNeedStack);
  20430.  
  20431. æKY GXSetShapeFace
  20432. æFc Graphics Routines.h
  20433. æT function
  20434. æD
  20435. void GXSetShapeFace(gxShape target, const gxTextFace *face)
  20436.     GXInlineCode(0x116, gxNeedClient|gxNeedHeap|gxNeedStack);
  20437.  
  20438. æKY GXSetShapeFont
  20439. æFc Graphics Routines.h
  20440. æT function
  20441. æD
  20442. void GXSetShapeFont(gxShape target, gxFont aFont)
  20443.     GXInlineCode(0x117, gxNeedClient|gxNeedHeap|gxNeedStack);
  20444.  
  20445. æKY GXSetShapeJoin
  20446. æFc Graphics Routines.h
  20447. æT function
  20448. æD
  20449. void GXSetShapeJoin(gxShape target, const gxJoinRecord *join)
  20450.     GXInlineCode(0x118, gxNeedClient|gxNeedHeap|gxNeedStack);
  20451.  
  20452. æKY GXSetShapeJustification
  20453. æFc Graphics Routines.h
  20454. æT function
  20455. æD
  20456. void GXSetShapeJustification(gxShape target, fract justify)
  20457.     GXInlineCode(0x119, gxNeedClient|gxNeedHeap|gxNeedStack);
  20458.  
  20459. æKY GXSetShapePattern
  20460. æFc Graphics Routines.h
  20461. æT function
  20462. æD
  20463. void GXSetShapePattern(gxShape target, const gxPatternRecord *pattern)
  20464.     GXInlineCode(0x11a, gxNeedClient|gxNeedHeap|gxNeedStack);
  20465.  
  20466. æKY GXSetShapePen
  20467. æFc Graphics Routines.h
  20468. æT function
  20469. æD
  20470. void GXSetShapePen(gxShape target, Fixed pen)
  20471.     GXInlineCode(0x11b, gxNeedClient|gxNeedHeap|gxNeedStack);
  20472.  
  20473. æKY GXSetShapeEncoding
  20474. æFc Graphics Routines.h
  20475. æT function
  20476. æD
  20477. void GXSetShapeEncoding(gxShape target, gxFontPlatform platform, gxFontScript script,
  20478.                         gxFontLanguage language)
  20479.     GXInlineCode(0x11c, gxNeedClient|gxNeedHeap|gxNeedStack);
  20480.  
  20481. æKY GXSetShapeTextSize
  20482. æFc Graphics Routines.h
  20483. æT function
  20484. æD
  20485. void GXSetShapeTextSize(gxShape target, Fixed size)
  20486.     GXInlineCode(0x11d, gxNeedClient|gxNeedHeap|gxNeedStack);
  20487.  
  20488. æKY GXSetShapeFontVariations
  20489. æFc Graphics Routines.h
  20490. æT function
  20491. æD
  20492. void GXSetShapeFontVariations(gxShape target, long count,
  20493.                               const gxFontVariation variations[])
  20494.     GXInlineCode(0x11e, gxNeedClient|gxNeedHeap|gxNeedStack);
  20495.  
  20496. æKY GXSetStyleCurveError
  20497. æFc Graphics Routines.h
  20498. æT function
  20499. æD
  20500. void GXSetStyleCurveError(gxStyle target, Fixed error)
  20501.     GXInlineCode(0x11f, gxNeedClient|gxNeedHeap|gxNeedStack);
  20502.  
  20503. æKY GXSetStyleDash
  20504. æFc Graphics Routines.h
  20505. æT function
  20506. æD
  20507. void GXSetStyleDash(gxStyle target, const gxDashRecord *dash)
  20508.     GXInlineCode(0x120, gxNeedClient|gxNeedHeap|gxNeedStack);
  20509.  
  20510. æKY GXSetStyleCap
  20511. æFc Graphics Routines.h
  20512. æT function
  20513. æD
  20514. void GXSetStyleCap(gxStyle target, const gxCapRecord *cap)
  20515.     GXInlineCode(0x121, gxNeedClient|gxNeedHeap|gxNeedStack);
  20516.  
  20517. æKY GXSetStyleFace
  20518. æFc Graphics Routines.h
  20519. æT function
  20520. æD
  20521. void GXSetStyleFace(gxStyle target, const gxTextFace *face)
  20522.     GXInlineCode(0x122, gxNeedClient|gxNeedHeap|gxNeedStack);
  20523.  
  20524. æKY GXSetStyleFont
  20525. æFc Graphics Routines.h
  20526. æT function
  20527. æD
  20528. void GXSetStyleFont(gxStyle target, gxFont aFont)
  20529.     GXInlineCode(0x123, gxNeedClient|gxNeedHeap|gxNeedStack);
  20530.  
  20531. æKY GXSetStyleJoin
  20532. æFc Graphics Routines.h
  20533. æT function
  20534. æD
  20535. void GXSetStyleJoin(gxStyle target, const gxJoinRecord *join)
  20536.     GXInlineCode(0x124, gxNeedClient|gxNeedHeap|gxNeedStack);
  20537.  
  20538. æKY GXSetStyleJustification
  20539. æFc Graphics Routines.h
  20540. æT function
  20541. æD
  20542. void GXSetStyleJustification(gxStyle target, fract justify)
  20543.     GXInlineCode(0x125, gxNeedClient|gxNeedHeap|gxNeedStack);
  20544.  
  20545. æKY GXSetStylePattern
  20546. æFc Graphics Routines.h
  20547. æT function
  20548. æD
  20549. void GXSetStylePattern(gxStyle target, const gxPatternRecord *pattern)
  20550.     GXInlineCode(0x126, gxNeedClient|gxNeedHeap|gxNeedStack);
  20551.  
  20552. æKY GXSetStylePen
  20553. æFc Graphics Routines.h
  20554. æT function
  20555. æD
  20556. void GXSetStylePen(gxStyle target, Fixed pen)
  20557.     GXInlineCode(0x127, gxNeedClient|gxNeedHeap|gxNeedStack);
  20558.  
  20559. æKY GXSetStyleEncoding
  20560. æFc Graphics Routines.h
  20561. æT function
  20562. æD
  20563. void GXSetStyleEncoding(gxStyle target, gxFontPlatform platform, gxFontScript script,
  20564.                         gxFontLanguage language)
  20565.     GXInlineCode(0x128, gxNeedClient|gxNeedHeap|gxNeedStack);
  20566.  
  20567. æKY GXSetStyleTextSize
  20568. æFc Graphics Routines.h
  20569. æT function
  20570. æD
  20571. void GXSetStyleTextSize(gxStyle target, Fixed size)
  20572.     GXInlineCode(0x129, gxNeedClient|gxNeedHeap|gxNeedStack);
  20573.  
  20574. æKY GXSetStyleFontVariations
  20575. æFc Graphics Routines.h
  20576. æT function
  20577. æD
  20578. void GXSetStyleFontVariations(gxStyle target, long count,
  20579.                               const gxFontVariation variations[])
  20580.     GXInlineCode(0x12a, gxNeedClient|gxNeedHeap|gxNeedStack);
  20581.  
  20582. æKY GXGetShapeColor
  20583. æFc Graphics Routines.h
  20584. æT function
  20585. æD
  20586. gxColor *GXGetShapeColor(gxShape source, gxColor *data)
  20587.     GXInlineCode(0x12b, gxNeedClient|gxNeedHeap|gxNeedStack);
  20588.  
  20589. æKY GXGetShapeTransfer
  20590. æFc Graphics Routines.h
  20591. æT function
  20592. æD
  20593. gxTransferMode *GXGetShapeTransfer(gxShape source, gxTransferMode *data)
  20594.     GXInlineCode(0x12c, gxNeedClient|gxNeedHeap|gxNeedStack);
  20595.  
  20596. æKY GXGetInkColor
  20597. æFc Graphics Routines.h
  20598. æT function
  20599. æD
  20600. gxColor *GXGetInkColor(gxInk source, gxColor *data)
  20601.     GXInlineCode(0x12d, gxNeedClient|gxNeedHeap|gxNeedStack);
  20602.  
  20603. æKY GXGetInkTransfer
  20604. æFc Graphics Routines.h
  20605. æT function
  20606. æD
  20607. gxTransferMode *GXGetInkTransfer(gxInk source, gxTransferMode *data)
  20608.     GXInlineCode(0x12e, gxNeedClient|gxNeedHeap|gxNeedStack);
  20609.  
  20610. æKY GXSetShapeColor
  20611. æFc Graphics Routines.h
  20612. æT function
  20613. æD
  20614. void GXSetShapeColor(gxShape target, const gxColor *data)
  20615.     GXInlineCode(0x12f, gxNeedClient|gxNeedHeap|gxNeedStack);
  20616.  
  20617. æKY GXSetShapeTransfer
  20618. æFc Graphics Routines.h
  20619. æT function
  20620. æD
  20621. void GXSetShapeTransfer(gxShape target, const gxTransferMode *data)
  20622.     GXInlineCode(0x130, gxNeedClient|gxNeedHeap|gxNeedStack);
  20623.  
  20624. æKY GXSetInkColor
  20625. æFc Graphics Routines.h
  20626. æT function
  20627. æD
  20628. void GXSetInkColor(gxInk target, const gxColor *data)
  20629.     GXInlineCode(0x131, gxNeedClient|gxNeedHeap|gxNeedStack);
  20630.  
  20631. æKY GXSetInkTransfer
  20632. æFc Graphics Routines.h
  20633. æT function
  20634. æD
  20635. void GXSetInkTransfer(gxInk target, const gxTransferMode *data)
  20636.     GXInlineCode(0x132, gxNeedClient|gxNeedHeap|gxNeedStack);
  20637.  
  20638. æKY GXGetShapeClip
  20639. æFc Graphics Routines.h
  20640. æT function
  20641. æD
  20642. gxShape GXGetShapeClip(gxShape source)
  20643.     GXInlineCode(0x133, gxNeedClient|gxNeedHeap|gxNeedStack);
  20644.  
  20645. æKY GXGetShapeMapping
  20646. æFc Graphics Routines.h
  20647. æT function
  20648. æD
  20649. gxMapping *GXGetShapeMapping(gxShape source, gxMapping *map)
  20650.     GXInlineCode(0x134, gxNeedClient|gxNeedHeap|gxNeedStack);
  20651.  
  20652. æKY GXGetShapeHitTest
  20653. æFc Graphics Routines.h
  20654. æT function
  20655. æD
  20656. gxShapePart GXGetShapeHitTest(gxShape source, Fixed *tolerance)
  20657.     GXInlineCode(0x135, gxNeedClient|gxNeedHeap|gxNeedStack);
  20658.  
  20659. æKY GXGetShapeViewPorts
  20660. æFc Graphics Routines.h
  20661. æT function
  20662. æD
  20663. long GXGetShapeViewPorts(gxShape source, gxViewPort list[])
  20664.     GXInlineCode(0x136, gxNeedClient|gxNeedHeap|gxNeedStack);
  20665.  
  20666. æKY GXGetTransformClip
  20667. æFc Graphics Routines.h
  20668. æT function
  20669. æD
  20670. gxShape GXGetTransformClip(gxTransform source)
  20671.     GXInlineCode(0x137, gxNeedClient|gxNeedHeap|gxNeedStack);
  20672.  
  20673. æKY GXGetTransformMapping
  20674. æFc Graphics Routines.h
  20675. æT function
  20676. æD
  20677. gxMapping *GXGetTransformMapping(gxTransform source, gxMapping *map)
  20678.     GXInlineCode(0x138, gxNeedClient|gxNeedHeap|gxNeedStack);
  20679.  
  20680. æKY GXGetTransformHitTest
  20681. æFc Graphics Routines.h
  20682. æT function
  20683. æD
  20684. gxShapePart GXGetTransformHitTest(gxTransform source, Fixed *tolerance)
  20685.     GXInlineCode(0x139, gxNeedClient|gxNeedHeap|gxNeedStack);
  20686.  
  20687. æKY GXGetTransformViewPorts
  20688. æFc Graphics Routines.h
  20689. æT function
  20690. æD
  20691. long GXGetTransformViewPorts(gxTransform source, gxViewPort list[])
  20692.     GXInlineCode(0x13a, gxNeedClient|gxNeedHeap|gxNeedStack);
  20693.  
  20694. æKY GXSetShapeClip
  20695. æFc Graphics Routines.h
  20696. æT function
  20697. æD
  20698. void GXSetShapeClip(gxShape target, gxShape clip)
  20699.     GXInlineCode(0x13b, gxNeedClient|gxNeedHeap|gxNeedStack);
  20700.  
  20701. æKY GXSetShapeMapping
  20702. æFc Graphics Routines.h
  20703. æT function
  20704. æD
  20705. void GXSetShapeMapping(gxShape target, const gxMapping *map)
  20706.     GXInlineCode(0x13c, gxNeedClient|gxNeedHeap|gxNeedStack);
  20707.  
  20708. æKY GXSetShapeHitTest
  20709. æFc Graphics Routines.h
  20710. æT function
  20711. æD
  20712. void GXSetShapeHitTest(gxShape target, gxShapePart mask, Fixed tolerance)
  20713.     GXInlineCode(0x13d, gxNeedClient|gxNeedHeap|gxNeedStack);
  20714.  
  20715. æKY GXSetShapeViewPorts
  20716. æFc Graphics Routines.h
  20717. æT function
  20718. æD
  20719. void GXSetShapeViewPorts(gxShape target, long count, const gxViewPort list[])
  20720.     GXInlineCode(0x13e, gxNeedClient|gxNeedHeap|gxNeedStack);
  20721.  
  20722. æKY GXSetTransformClip
  20723. æFc Graphics Routines.h
  20724. æT function
  20725. æD
  20726. void GXSetTransformClip(gxTransform target, gxShape clip)
  20727.     GXInlineCode(0x13f, gxNeedClient|gxNeedHeap|gxNeedStack);
  20728.  
  20729. æKY GXSetTransformMapping
  20730. æFc Graphics Routines.h
  20731. æT function
  20732. æD
  20733. void GXSetTransformMapping(gxTransform target, const gxMapping *map)
  20734.     GXInlineCode(0x140, gxNeedClient|gxNeedHeap|gxNeedStack);
  20735.  
  20736. æKY GXSetTransformHitTest
  20737. æFc Graphics Routines.h
  20738. æT function
  20739. æD
  20740. void GXSetTransformHitTest(gxTransform target, gxShapePart mask, Fixed tolerance)
  20741.     GXInlineCode(0x141, gxNeedClient|gxNeedHeap|gxNeedStack);
  20742.  
  20743. æKY GXSetTransformViewPorts
  20744. æFc Graphics Routines.h
  20745. æT function
  20746. æD
  20747. void GXSetTransformViewPorts(gxTransform target, long count, const gxViewPort list[])
  20748.     GXInlineCode(0x142, gxNeedClient|gxNeedHeap|gxNeedStack);
  20749.  
  20750. æKY GXGetColorSet
  20751. æFc Graphics Routines.h
  20752. æT function
  20753. æD
  20754. long GXGetColorSet(gxColorSet source, gxColorSpace *space, gxSetColor colors[])
  20755.     GXInlineCode(0x143, gxNeedClient|gxNeedHeap|gxNeedStack);
  20756.  
  20757. æKY GXGetColorProfile
  20758. æFc Graphics Routines.h
  20759. æT function
  20760. æD
  20761. long GXGetColorProfile(gxColorProfile source, void *colorProfileData)
  20762.     GXInlineCode(0x144, gxNeedClient|gxNeedHeap|gxNeedStack);
  20763.  
  20764. æKY GXSetColorSet
  20765. æFc Graphics Routines.h
  20766. æT function
  20767. æD
  20768. void GXSetColorSet(gxColorSet target, gxColorSpace space, long count,
  20769.                    const gxSetColor colors[])
  20770.     GXInlineCode(0x145, gxNeedClient|gxNeedHeap|gxNeedStack);
  20771.  
  20772. æKY GXSetColorProfile
  20773. æFc Graphics Routines.h
  20774. æT function
  20775. æD
  20776. void GXSetColorProfile(gxColorProfile target, long size, void *colorProfileData)
  20777.     GXInlineCode(0x146, gxNeedClient|gxNeedHeap|gxNeedStack);
  20778.  
  20779. æKY GXGetViewDeviceBitmap
  20780. æFc Graphics Routines.h
  20781. æT function
  20782. æD
  20783. gxShape GXGetViewDeviceBitmap(gxViewDevice source)
  20784.     GXInlineCode(0x147, gxNeedClient|gxNeedHeap|gxNeedStack);
  20785.  
  20786. æKY GXGetViewDeviceClip
  20787. æFc Graphics Routines.h
  20788. æT function
  20789. æD
  20790. gxShape GXGetViewDeviceClip(gxViewDevice source)
  20791.     GXInlineCode(0x148, gxNeedClient|gxNeedHeap|gxNeedStack);
  20792.  
  20793. æKY GXGetViewDeviceMapping
  20794. æFc Graphics Routines.h
  20795. æT function
  20796. æD
  20797. gxMapping *GXGetViewDeviceMapping(gxViewDevice source, gxMapping *map)
  20798.     GXInlineCode(0x149, gxNeedClient|gxNeedHeap|gxNeedStack);
  20799.  
  20800. æKY GXGetViewDeviceViewGroup
  20801. æFc Graphics Routines.h
  20802. æT function
  20803. æD
  20804. gxViewGroup GXGetViewDeviceViewGroup(gxViewDevice source)
  20805.     GXInlineCode(0x14a, gxNeedClient|gxNeedHeap|gxNeedStack);
  20806.  
  20807. æKY GXSetViewDeviceBitmap
  20808. æFc Graphics Routines.h
  20809. æT function
  20810. æD
  20811. void GXSetViewDeviceBitmap(gxViewDevice target, gxShape bitmapShape)
  20812.     GXInlineCode(0x14b, gxNeedClient|gxNeedHeap|gxNeedStack);
  20813.  
  20814. æKY GXSetViewDeviceClip
  20815. æFc Graphics Routines.h
  20816. æT function
  20817. æD
  20818. void GXSetViewDeviceClip(gxViewDevice target, gxShape clip)
  20819.     GXInlineCode(0x14c, gxNeedClient|gxNeedHeap|gxNeedStack);
  20820.  
  20821. æKY GXSetViewDeviceMapping
  20822. æFc Graphics Routines.h
  20823. æT function
  20824. æD
  20825. void GXSetViewDeviceMapping(gxViewDevice target, const gxMapping *map)
  20826.     GXInlineCode(0x14d, gxNeedClient|gxNeedHeap|gxNeedStack);
  20827.  
  20828. æKY GXSetViewDeviceViewGroup
  20829. æFc Graphics Routines.h
  20830. æT function
  20831. æD
  20832. void GXSetViewDeviceViewGroup(gxViewDevice target, gxViewGroup group)
  20833.     GXInlineCode(0x14e, gxNeedClient|gxNeedHeap|gxNeedStack);
  20834.  
  20835. æKY GXGetViewPortChildren
  20836. æFc Graphics Routines.h
  20837. æT function
  20838. æD
  20839. long GXGetViewPortChildren(gxViewPort source, gxViewPort list[])
  20840.     GXInlineCode(0x14f, gxNeedClient|gxNeedHeap|gxNeedStack);
  20841.  
  20842. æKY GXGetViewPortClip
  20843. æFc Graphics Routines.h
  20844. æT function
  20845. æD
  20846. gxShape GXGetViewPortClip(gxViewPort source)
  20847.     GXInlineCode(0x150, gxNeedClient|gxNeedHeap|gxNeedStack);
  20848.  
  20849. æKY GXGetViewPortDither
  20850. æFc Graphics Routines.h
  20851. æT function
  20852. æD
  20853. long GXGetViewPortDither(gxViewPort source)
  20854.     GXInlineCode(0x151, gxNeedClient|gxNeedHeap|gxNeedStack);
  20855.  
  20856. æKY GXGetViewPortHalftone
  20857. æFc Graphics Routines.h
  20858. æT function
  20859. æD
  20860. boolean GXGetViewPortHalftone(gxViewPort source, gxHalftone *data)
  20861.     GXInlineCode(0x152, gxNeedClient|gxNeedHeap|gxNeedStack);
  20862.  
  20863. æKY GXGetViewPortMapping
  20864. æFc Graphics Routines.h
  20865. æT function
  20866. æD
  20867. gxMapping *GXGetViewPortMapping(gxViewPort source, gxMapping *map)
  20868.     GXInlineCode(0x153, gxNeedClient|gxNeedHeap|gxNeedStack);
  20869.  
  20870. æKY GXGetViewPortParent
  20871. æFc Graphics Routines.h
  20872. æT function
  20873. æD
  20874. gxViewPort GXGetViewPortParent(gxViewPort source)
  20875.     GXInlineCode(0x154, gxNeedClient|gxNeedHeap|gxNeedStack);
  20876.  
  20877. æKY GXGetViewPortViewGroup
  20878. æFc Graphics Routines.h
  20879. æT function
  20880. æD
  20881. gxViewGroup GXGetViewPortViewGroup(gxViewPort source)
  20882.     GXInlineCode(0x155, gxNeedClient|gxNeedHeap|gxNeedStack);
  20883.  
  20884. æKY GXSetViewPortChildren
  20885. æFc Graphics Routines.h
  20886. æT function
  20887. æD
  20888. void GXSetViewPortChildren(gxViewPort target, long count, const gxViewPort list[])
  20889.     GXInlineCode(0x156, gxNeedClient|gxNeedHeap|gxNeedStack);
  20890.  
  20891. æKY GXSetViewPortClip
  20892. æFc Graphics Routines.h
  20893. æT function
  20894. æD
  20895. void GXSetViewPortClip(gxViewPort target, gxShape clip)
  20896.     GXInlineCode(0x157, gxNeedClient|gxNeedHeap|gxNeedStack);
  20897.  
  20898. æKY GXSetViewPortDither
  20899. æFc Graphics Routines.h
  20900. æT function
  20901. æD
  20902. void GXSetViewPortDither(gxViewPort target, long level)
  20903.     GXInlineCode(0x158, gxNeedClient|gxNeedHeap|gxNeedStack);
  20904.  
  20905. æKY GXSetViewPortHalftone
  20906. æFc Graphics Routines.h
  20907. æT function
  20908. æD
  20909. void GXSetViewPortHalftone(gxViewPort target, const gxHalftone *data)
  20910.     GXInlineCode(0x159, gxNeedClient|gxNeedHeap|gxNeedStack);
  20911.  
  20912. æKY GXSetViewPortMapping
  20913. æFc Graphics Routines.h
  20914. æT function
  20915. æD
  20916. void GXSetViewPortMapping(gxViewPort target, const gxMapping *map)
  20917.     GXInlineCode(0x15a, gxNeedClient|gxNeedHeap|gxNeedStack);
  20918.  
  20919. æKY GXSetViewPortParent
  20920. æFc Graphics Routines.h
  20921. æT function
  20922. æD
  20923. void GXSetViewPortParent(gxViewPort target, gxViewPort parent)
  20924.     GXInlineCode(0x15b, gxNeedClient|gxNeedHeap|gxNeedStack);
  20925.  
  20926. æKY GXSetViewPortViewGroup
  20927. æFc Graphics Routines.h
  20928. æT function
  20929. æD
  20930. void GXSetViewPortViewGroup(gxViewPort target, gxViewGroup group)
  20931.     GXInlineCode(0x15c, gxNeedClient|gxNeedHeap|gxNeedStack);
  20932.  
  20933. æKY GXGetColorProfileTags
  20934. æFc Graphics Routines.h
  20935. æT function
  20936. æD
  20937. long GXGetColorProfileTags(gxColorProfile source, long tagType, long index,
  20938.                            long count, gxTag items[])
  20939.     GXInlineCode(0x15d, gxNeedClient|gxNeedHeap|gxNeedStack);
  20940.  
  20941. æKY GXGetColorSetTags
  20942. æFc Graphics Routines.h
  20943. æT function
  20944. æD
  20945. long GXGetColorSetTags(gxColorSet source, long tagType, long index, long count,
  20946.                        gxTag items[])
  20947.     GXInlineCode(0x15e, gxNeedClient|gxNeedHeap|gxNeedStack);
  20948.  
  20949. æKY GXGetInkTags
  20950. æFc Graphics Routines.h
  20951. æT function
  20952. æD
  20953. long GXGetInkTags(gxInk source, long tagType, long index, long count, gxTag items[])
  20954.     GXInlineCode(0x15f, gxNeedClient|gxNeedHeap|gxNeedStack);
  20955.  
  20956. æKY GXGetShapeTags
  20957. æFc Graphics Routines.h
  20958. æT function
  20959. æD
  20960. long GXGetShapeTags(gxShape source, long tagType, long index, long count,
  20961.                     gxTag items[])
  20962.     GXInlineCode(0x160, gxNeedClient|gxNeedHeap|gxNeedStack);
  20963.  
  20964. æKY GXGetStyleTags
  20965. æFc Graphics Routines.h
  20966. æT function
  20967. æD
  20968. long GXGetStyleTags(gxStyle source, long tagType, long index, long count,
  20969.                     gxTag items[])
  20970.     GXInlineCode(0x161, gxNeedClient|gxNeedHeap|gxNeedStack);
  20971.  
  20972. æKY GXGetTransformTags
  20973. æFc Graphics Routines.h
  20974. æT function
  20975. æD
  20976. long GXGetTransformTags(gxTransform source, long tagType, long index, long count,
  20977.                         gxTag items[])
  20978.     GXInlineCode(0x162, gxNeedClient|gxNeedHeap|gxNeedStack);
  20979.  
  20980. æKY GXGetViewDeviceTags
  20981. æFc Graphics Routines.h
  20982. æT function
  20983. æD
  20984. long GXGetViewDeviceTags(gxViewDevice source, long tagType, long index, long count,
  20985.                          gxTag items[])
  20986.     GXInlineCode(0x163, gxNeedClient|gxNeedHeap|gxNeedStack);
  20987.  
  20988. æKY GXGetViewPortTags
  20989. æFc Graphics Routines.h
  20990. æT function
  20991. æD
  20992. long GXGetViewPortTags(gxViewPort source, long tagType, long index, long count,
  20993.                        gxTag items[])
  20994.     GXInlineCode(0x164, gxNeedClient|gxNeedHeap|gxNeedStack);
  20995.  
  20996. æKY GXSetColorProfileTags
  20997. æFc Graphics Routines.h
  20998. æT function
  20999. æD
  21000. void GXSetColorProfileTags(gxColorProfile target, long tagType, long index,
  21001.                            long oldCount, long newCount, const gxTag items[])
  21002.     GXInlineCode(0x165, gxNeedClient|gxNeedHeap|gxNeedStack);
  21003.  
  21004. æKY GXSetColorSetTags
  21005. æFc Graphics Routines.h
  21006. æT function
  21007. æD
  21008. void GXSetColorSetTags(gxColorSet target, long tagType, long index, long oldCount,
  21009.                        long newCount, const gxTag items[])
  21010.     GXInlineCode(0x166, gxNeedClient|gxNeedHeap|gxNeedStack);
  21011.  
  21012. æKY GXSetInkTags
  21013. æFc Graphics Routines.h
  21014. æT function
  21015. æD
  21016. void GXSetInkTags(gxInk target, long tagType, long index, long oldCount,
  21017.                   long newCount, const gxTag items[])
  21018.     GXInlineCode(0x167, gxNeedClient|gxNeedHeap|gxNeedStack);
  21019.  
  21020. æKY GXSetShapeTags
  21021. æFc Graphics Routines.h
  21022. æT function
  21023. æD
  21024. void GXSetShapeTags(gxShape target, long tagType, long index, long oldCount,
  21025.                     long newCount, const gxTag items[])
  21026.     GXInlineCode(0x168, gxNeedClient|gxNeedHeap|gxNeedStack);
  21027.  
  21028. æKY GXSetStyleTags
  21029. æFc Graphics Routines.h
  21030. æT function
  21031. æD
  21032. void GXSetStyleTags(gxStyle target, long tagType, long index, long oldCount,
  21033.                     long newCount, const gxTag items[])
  21034.     GXInlineCode(0x169, gxNeedClient|gxNeedHeap|gxNeedStack);
  21035.  
  21036. æKY GXSetTransformTags
  21037. æFc Graphics Routines.h
  21038. æT function
  21039. æD
  21040. void GXSetTransformTags(gxTransform target, long tagType, long index, long oldCount,
  21041.                         long newCount, const gxTag items[])
  21042.     GXInlineCode(0x16a, gxNeedClient|gxNeedHeap|gxNeedStack);
  21043.  
  21044. æKY GXSetViewDeviceTags
  21045. æFc Graphics Routines.h
  21046. æT function
  21047. æD
  21048. void GXSetViewDeviceTags(gxViewDevice target, long tagType, long index,
  21049.                          long oldCount, long newCount, const gxTag items[])
  21050.     GXInlineCode(0x16b, gxNeedClient|gxNeedHeap|gxNeedStack);
  21051.  
  21052. æKY GXSetViewPortTags
  21053. æFc Graphics Routines.h
  21054. æT function
  21055. æD
  21056. void GXSetViewPortTags(gxViewPort target, long tagType, long index, long oldCount,
  21057.                        long newCount, const gxTag items[])
  21058.     GXInlineCode(0x16c, gxNeedClient|gxNeedHeap|gxNeedStack);
  21059.  
  21060. æKY GXGetInkAttributes
  21061. æFc Graphics Routines.h
  21062. æT function
  21063. æD
  21064. gxInkAttribute GXGetInkAttributes(gxInk source)
  21065.     GXInlineCode(0x16d, gxNeedClient|gxNeedHeap|gxNeedStack);
  21066.  
  21067. æKY GXGetShapeAttributes
  21068. æFc Graphics Routines.h
  21069. æT function
  21070. æD
  21071. gxShapeAttribute GXGetShapeAttributes(gxShape source)
  21072.     GXInlineCode(0x16e, gxNeedClient|gxNeedHeap|gxNeedStack);
  21073.  
  21074. æKY GXGetShapeInkAttributes
  21075. æFc Graphics Routines.h
  21076. æT function
  21077. æD
  21078. gxInkAttribute GXGetShapeInkAttributes(gxShape source)
  21079.     GXInlineCode(0x16f, gxNeedClient|gxNeedHeap|gxNeedStack);
  21080.  
  21081. æKY GXGetShapeStyleAttributes
  21082. æFc Graphics Routines.h
  21083. æT function
  21084. æD
  21085. gxStyleAttribute GXGetShapeStyleAttributes(gxShape source)
  21086.     GXInlineCode(0x170, gxNeedClient|gxNeedHeap|gxNeedStack);
  21087.  
  21088. æKY GXGetStyleAttributes
  21089. æFc Graphics Routines.h
  21090. æT function
  21091. æD
  21092. gxStyleAttribute GXGetStyleAttributes(gxStyle source)
  21093.     GXInlineCode(0x171, gxNeedClient|gxNeedHeap|gxNeedStack);
  21094.  
  21095. æKY GXGetShapeTextAttributes
  21096. æFc Graphics Routines.h
  21097. æT function
  21098. æD
  21099. gxTextAttribute GXGetShapeTextAttributes(gxShape source)
  21100.     GXInlineCode(0x172, gxNeedClient|gxNeedHeap|gxNeedStack);
  21101.  
  21102. æKY GXGetStyleTextAttributes
  21103. æFc Graphics Routines.h
  21104. æT function
  21105. æD
  21106. gxTextAttribute GXGetStyleTextAttributes(gxStyle source)
  21107.     GXInlineCode(0x173, gxNeedClient|gxNeedHeap|gxNeedStack);
  21108.  
  21109. æKY GXGetViewDeviceAttributes
  21110. æFc Graphics Routines.h
  21111. æT function
  21112. æD
  21113. gxDeviceAttribute GXGetViewDeviceAttributes(gxViewDevice source)
  21114.     GXInlineCode(0x174, gxNeedClient|gxNeedHeap|gxNeedStack);
  21115.  
  21116. æKY GXGetViewPortAttributes
  21117. æFc Graphics Routines.h
  21118. æT function
  21119. æD
  21120. gxPortAttribute GXGetViewPortAttributes(gxViewPort source)
  21121.     GXInlineCode(0x175, gxNeedClient|gxNeedHeap|gxNeedStack);
  21122.  
  21123. æKY GXSetInkAttributes
  21124. æFc Graphics Routines.h
  21125. æT function
  21126. æD
  21127. void GXSetInkAttributes(gxInk target, gxInkAttribute attributes)
  21128.     GXInlineCode(0x176, gxNeedClient|gxNeedHeap|gxNeedStack);
  21129.  
  21130. æKY GXSetShapeAttributes
  21131. æFc Graphics Routines.h
  21132. æT function
  21133. æD
  21134. void GXSetShapeAttributes(gxShape target, gxShapeAttribute attributes)
  21135.     GXInlineCode(0x177, gxNeedClient|gxNeedHeap|gxNeedStack);
  21136.  
  21137. æKY GXSetShapeInkAttributes
  21138. æFc Graphics Routines.h
  21139. æT function
  21140. æD
  21141. void GXSetShapeInkAttributes(gxShape target, gxInkAttribute attributes)
  21142.     GXInlineCode(0x178, gxNeedClient|gxNeedHeap|gxNeedStack);
  21143.  
  21144. æKY GXSetShapeStyleAttributes
  21145. æFc Graphics Routines.h
  21146. æT function
  21147. æD
  21148. void GXSetShapeStyleAttributes(gxShape target, gxStyleAttribute attributes)
  21149.     GXInlineCode(0x179, gxNeedClient|gxNeedHeap|gxNeedStack);
  21150.  
  21151. æKY GXSetStyleAttributes
  21152. æFc Graphics Routines.h
  21153. æT function
  21154. æD
  21155. void GXSetStyleAttributes(gxStyle target, gxStyleAttribute attributes)
  21156.     GXInlineCode(0x17a, gxNeedClient|gxNeedHeap|gxNeedStack);
  21157.  
  21158. æKY GXSetShapeTextAttributes
  21159. æFc Graphics Routines.h
  21160. æT function
  21161. æD
  21162. void GXSetShapeTextAttributes(gxShape target, gxTextAttribute attributes)
  21163.     GXInlineCode(0x17b, gxNeedClient|gxNeedHeap|gxNeedStack);
  21164.  
  21165. æKY GXSetStyleTextAttributes
  21166. æFc Graphics Routines.h
  21167. æT function
  21168. æD
  21169. void GXSetStyleTextAttributes(gxStyle target, gxTextAttribute attributes)
  21170.     GXInlineCode(0x17c, gxNeedClient|gxNeedHeap|gxNeedStack);
  21171.  
  21172. æKY GXSetViewDeviceAttributes
  21173. æFc Graphics Routines.h
  21174. æT function
  21175. æD
  21176. void GXSetViewDeviceAttributes(gxViewDevice target, gxDeviceAttribute attributes)
  21177.     GXInlineCode(0x17d, gxNeedClient|gxNeedHeap|gxNeedStack);
  21178.  
  21179. æKY GXSetViewPortAttributes
  21180. æFc Graphics Routines.h
  21181. æT function
  21182. æD
  21183. void GXSetViewPortAttributes(gxViewPort target, gxPortAttribute attributes)
  21184.     GXInlineCode(0x17e, gxNeedClient|gxNeedHeap|gxNeedStack);
  21185.  
  21186. æKY GXGetColorProfileOwners
  21187. æFc Graphics Routines.h
  21188. æT function
  21189. æD
  21190. long GXGetColorProfileOwners(gxColorProfile source)
  21191.     GXInlineCode(0x17f, gxNeedClient|gxNeedHeap|gxNeedStack);
  21192.  
  21193. æKY GXGetColorSetOwners
  21194. æFc Graphics Routines.h
  21195. æT function
  21196. æD
  21197. long GXGetColorSetOwners(gxColorSet source)
  21198.     GXInlineCode(0x180, gxNeedClient|gxNeedHeap|gxNeedStack);
  21199.  
  21200. æKY GXGetInkOwners
  21201. æFc Graphics Routines.h
  21202. æT function
  21203. æD
  21204. long GXGetInkOwners(gxInk source)
  21205.     GXInlineCode(0x181, gxNeedClient|gxNeedHeap|gxNeedStack);
  21206.  
  21207. æKY GXGetShapeOwners
  21208. æFc Graphics Routines.h
  21209. æT function
  21210. æD
  21211. long GXGetShapeOwners(gxShape source)
  21212.     GXInlineCode(0x182, gxNeedClient|gxNeedHeap|gxNeedStack);
  21213.  
  21214. æKY GXGetStyleOwners
  21215. æFc Graphics Routines.h
  21216. æT function
  21217. æD
  21218. long GXGetStyleOwners(gxStyle source)
  21219.     GXInlineCode(0x183, gxNeedClient|gxNeedHeap|gxNeedStack);
  21220.  
  21221. æKY GXGetTagOwners
  21222. æFc Graphics Routines.h
  21223. æT function
  21224. æD
  21225. long GXGetTagOwners(gxTag source)
  21226.     GXInlineCode(0x184, gxNeedClient|gxNeedHeap|gxNeedStack);
  21227.  
  21228. æKY GXGetTransformOwners
  21229. æFc Graphics Routines.h
  21230. æT function
  21231. æD
  21232. long GXGetTransformOwners(gxTransform source)
  21233.     GXInlineCode(0x185, gxNeedClient|gxNeedHeap|gxNeedStack);
  21234.  
  21235. æKY GXLockShape
  21236. æFc Graphics Routines.h
  21237. æT function
  21238. æD
  21239. void GXLockShape(gxShape target)
  21240.     GXInlineCode(0x186, gxNeedClient|gxNeedHeap|gxNeedStack);
  21241.  
  21242. æKY GXLockTag
  21243. æFc Graphics Routines.h
  21244. æT function
  21245. æD
  21246. void GXLockTag(gxTag target)
  21247.     GXInlineCode(0x187, gxNeedClient|gxNeedHeap|gxNeedStack);
  21248.  
  21249. æKY GXUnlockShape
  21250. æFc Graphics Routines.h
  21251. æT function
  21252. æD
  21253. void GXUnlockShape(gxShape target)
  21254.     GXInlineCode(0x188, gxNeedClient|gxNeedHeap|gxNeedStack);
  21255.  
  21256. æKY GXUnlockTag
  21257. æFc Graphics Routines.h
  21258. æT function
  21259. æD
  21260. void GXUnlockTag(gxTag target)
  21261.     GXInlineCode(0x189, gxNeedClient|gxNeedHeap|gxNeedStack);
  21262.  
  21263. æKY GXGetShapeStructure
  21264. æFc Graphics Routines.h
  21265. æT function
  21266. æD
  21267. void *GXGetShapeStructure(gxShape source, long *length)
  21268.     GXInlineCode(0x18a, gxNeedClient|gxNeedHeap|gxNeedStack);
  21269.  
  21270. æKY GXGetTagStructure
  21271. æFc Graphics Routines.h
  21272. æT function
  21273. æD
  21274. void *GXGetTagStructure(gxTag source, long *length)
  21275.     GXInlineCode(0x18b, gxNeedClient|gxNeedHeap|gxNeedStack);
  21276.  
  21277. æKY GXGetColorDistance
  21278. æFc Graphics Routines.h
  21279. æT function
  21280. æD
  21281. Fixed GXGetColorDistance(const gxColor *target, const gxColor *source)
  21282.     GXInlineCode(0x18c, gxNeedClient|gxNeedHeap|gxNeedStack);
  21283.  
  21284. æKY GXShapeLengthToPoint
  21285. æFc Graphics Routines.h
  21286. æT function
  21287. æD
  21288. gxPoint *GXShapeLengthToPoint(gxShape target, long index, Fixed length,
  21289.                               gxPoint *location, gxPoint *tangent)
  21290.     GXInlineCode(0x18d, gxNeedClient|gxNeedHeap|gxNeedStack);
  21291.  
  21292. æKY GXGetShapeArea
  21293. æFc Graphics Routines.h
  21294. æT function
  21295. æD
  21296. wide *GXGetShapeArea(gxShape source, long index, wide *area)
  21297.     GXInlineCode(0x18e, gxNeedClient|gxNeedHeap|gxNeedStack);
  21298.  
  21299. æKY GXGetShapeCacheSize
  21300. æFc Graphics Routines.h
  21301. æT function
  21302. æD
  21303. long GXGetShapeCacheSize(gxShape source)
  21304.     GXInlineCode(0x18f, gxNeedClient|gxNeedHeap|gxNeedStack);
  21305.  
  21306. æKY GXGetShapeCenter
  21307. æFc Graphics Routines.h
  21308. æT function
  21309. æD
  21310. gxPoint *GXGetShapeCenter(gxShape source, long index, gxPoint *center)
  21311.     GXInlineCode(0x190, gxNeedClient|gxNeedHeap|gxNeedStack);
  21312.  
  21313. æKY GXGetShapeDirection
  21314. æFc Graphics Routines.h
  21315. æT function
  21316. æD
  21317. gxContourDirection GXGetShapeDirection(gxShape source, long contour)
  21318.     GXInlineCode(0x191, gxNeedClient|gxNeedHeap|gxNeedStack);
  21319.  
  21320. æKY GXGetShapeIndex
  21321. æFc Graphics Routines.h
  21322. æT function
  21323. æD
  21324. long GXGetShapeIndex(gxShape source, long contour, long vector)
  21325.     GXInlineCode(0x192, gxNeedClient|gxNeedHeap|gxNeedStack);
  21326.  
  21327. æKY GXGetShapeLength
  21328. æFc Graphics Routines.h
  21329. æT function
  21330. æD
  21331. wide *GXGetShapeLength(gxShape source, long index, wide *length)
  21332.     GXInlineCode(0x193, gxNeedClient|gxNeedHeap|gxNeedStack);
  21333.  
  21334. æKY GXGetShapeSize
  21335. æFc Graphics Routines.h
  21336. æT function
  21337. æD
  21338. long GXGetShapeSize(gxShape source)
  21339.     GXInlineCode(0x194, gxNeedClient|gxNeedHeap|gxNeedStack);
  21340.  
  21341. æKY GXCountShapeContours
  21342. æFc Graphics Routines.h
  21343. æT function
  21344. æD
  21345. long GXCountShapeContours(gxShape source)
  21346.     GXInlineCode(0x195, gxNeedClient|gxNeedHeap|gxNeedStack);
  21347.  
  21348. æKY GXCountShapePoints
  21349. æFc Graphics Routines.h
  21350. æT function
  21351. æD
  21352. long GXCountShapePoints(gxShape source, long contour)
  21353.     GXInlineCode(0x196, gxNeedClient|gxNeedHeap|gxNeedStack);
  21354.  
  21355. æKY GXGetShapeDashPositions
  21356. æFc Graphics Routines.h
  21357. æT function
  21358. æD
  21359. long GXGetShapeDashPositions(gxShape source, gxMapping dashMappings[])
  21360.     GXInlineCode(0x197, gxNeedClient|gxNeedHeap|gxNeedStack);
  21361.  
  21362. æC
  21363.  
  21364. Returns the number of positions
  21365.  
  21366. æKY GXGetShapeDeviceArea
  21367. æFc Graphics Routines.h
  21368. æT function
  21369. æD
  21370. long GXGetShapeDeviceArea(gxShape source, gxViewPort port, gxViewDevice device)
  21371.     GXInlineCode(0x198, gxNeedClient|gxNeedHeap|gxNeedStack);
  21372.  
  21373. æKY GXGetShapeDeviceBounds
  21374. æFc Graphics Routines.h
  21375. æT function
  21376. æD
  21377. boolean GXGetShapeDeviceBounds(gxShape source, gxViewPort port, gxViewDevice device,
  21378.                                gxRectangle *bounds)
  21379.     GXInlineCode(0x199, gxNeedClient|gxNeedHeap|gxNeedStack);
  21380.  
  21381. æKY GXGetShapeDeviceColors
  21382. æFc Graphics Routines.h
  21383. æT function
  21384. æD
  21385. gxColorSet GXGetShapeDeviceColors(gxShape source, gxViewPort port,
  21386.                                   gxViewDevice device, long *width)
  21387.     GXInlineCode(0x19a, gxNeedClient|gxNeedHeap|gxNeedStack);
  21388.  
  21389. æKY GXGetShapeGlobalBounds
  21390. æFc Graphics Routines.h
  21391. æT function
  21392. æD
  21393. boolean GXGetShapeGlobalBounds(gxShape source, gxViewPort port, gxViewGroup group,
  21394.                                gxRectangle *bounds)
  21395.     GXInlineCode(0x19b, gxNeedClient|gxNeedHeap|gxNeedStack);
  21396.  
  21397. æKY GXGetShapeGlobalViewDevices
  21398. æFc Graphics Routines.h
  21399. æT function
  21400. æD
  21401. long GXGetShapeGlobalViewDevices(gxShape source, gxViewPort port, gxViewDevice list[])
  21402.     GXInlineCode(0x19c, gxNeedClient|gxNeedHeap|gxNeedStack);
  21403.  
  21404. æKY GXGetShapeGlobalViewPorts
  21405. æFc Graphics Routines.h
  21406. æT function
  21407. æD
  21408. long GXGetShapeGlobalViewPorts(gxShape source, gxViewPort list[])
  21409.     GXInlineCode(0x19d, gxNeedClient|gxNeedHeap|gxNeedStack);
  21410.  
  21411. æKY GXGetShapeLocalBounds
  21412. æFc Graphics Routines.h
  21413. æT function
  21414. æD
  21415. gxRectangle *GXGetShapeLocalBounds(gxShape source, gxRectangle *bounds)
  21416.     GXInlineCode(0x19e, gxNeedClient|gxNeedHeap|gxNeedStack);
  21417.  
  21418. æKY GXGetShapePatternPositions
  21419. æFc Graphics Routines.h
  21420. æT function
  21421. æD
  21422. long GXGetShapePatternPositions(gxShape source, gxPoint positions[])
  21423.     GXInlineCode(0x19f, gxNeedClient|gxNeedHeap|gxNeedStack);
  21424.  
  21425. æC
  21426.  
  21427. Returns the number of positions
  21428.  
  21429. æKY GXGetShapeLocalFontMetrics
  21430. æFc Graphics Routines.h
  21431. æT function
  21432. æD
  21433. void GXGetShapeLocalFontMetrics(gxShape sourceShape, gxPoint* before, gxPoint* after,
  21434.                                 gxPoint* caretAngle, gxPoint* caretOffset)
  21435.     GXInlineCode(0x1a0, gxNeedClient|gxNeedHeap|gxNeedStack);
  21436.  
  21437. æKY GXGetShapeDeviceFontMetrics
  21438. æFc Graphics Routines.h
  21439. æT function
  21440. æD
  21441. void GXGetShapeDeviceFontMetrics(gxShape sourceShape, gxViewPort port,
  21442.                                  gxViewDevice device, gxPoint* before,
  21443.                                  gxPoint* after, gxPoint* caretAngle,
  21444.                                  gxPoint* caretOffset)
  21445.     GXInlineCode(0x1a1, gxNeedClient|gxNeedHeap|gxNeedStack);
  21446.  
  21447. æKY GXGetViewGroupViewDevices
  21448. æFc Graphics Routines.h
  21449. æT function
  21450. æD
  21451. long GXGetViewGroupViewDevices(gxViewGroup source, gxViewDevice list[])
  21452.     GXInlineCode(0x1a2, gxNeedClient|gxNeedHeap|gxNeedStack);
  21453.  
  21454. æKY GXGetViewGroupViewPorts
  21455. æFc Graphics Routines.h
  21456. æT function
  21457. æD
  21458. long GXGetViewGroupViewPorts(gxViewGroup source, gxViewPort list[])
  21459.     GXInlineCode(0x1a3, gxNeedClient|gxNeedHeap|gxNeedStack);
  21460.  
  21461. æKY GXGetViewPortGlobalMapping
  21462. æFc Graphics Routines.h
  21463. æT function
  21464. æD
  21465. gxMapping *GXGetViewPortGlobalMapping(gxViewPort source, gxMapping *map)
  21466.     GXInlineCode(0x1a4, gxNeedClient|gxNeedHeap|gxNeedStack);
  21467.  
  21468. æKY GXGetViewPortViewDevices
  21469. æFc Graphics Routines.h
  21470. æT function
  21471. æD
  21472. long GXGetViewPortViewDevices(gxViewPort source, gxViewDevice list[])
  21473.     GXInlineCode(0x1a5, gxNeedClient|gxNeedHeap|gxNeedStack);
  21474.  
  21475. æKY GXHitTestPicture
  21476. æFc Graphics Routines.h
  21477. æT function
  21478. æD
  21479. gxShape GXHitTestPicture(gxShape target, const gxPoint *test, gxHitTestInfo *result,
  21480.                          long level, long depth)
  21481.     GXInlineCode(0x1a6, gxNeedClient|gxNeedHeap|gxNeedStack);
  21482.  
  21483. æKY GXIntersectRectangle
  21484. æFc Graphics Routines.h
  21485. æT function
  21486. æD
  21487. boolean GXIntersectRectangle(gxRectangle *target, const gxRectangle *source,
  21488.                              const gxRectangle *operand)
  21489.     GXInlineCode(0x1a7, gxNeedClient|gxNeedHeap|gxNeedStack);
  21490.  
  21491. æKY GXUnionRectangle
  21492. æFc Graphics Routines.h
  21493. æT function
  21494. æD
  21495. gxRectangle *GXUnionRectangle(gxRectangle *target, const gxRectangle *source,
  21496.                               const gxRectangle *operand)
  21497.     GXInlineCode(0x1a8, gxNeedClient|gxNeedHeap|gxNeedStack);
  21498.  
  21499. æKY GXTouchesRectanglePoint
  21500. æFc Graphics Routines.h
  21501. æT function
  21502. æD
  21503. boolean GXTouchesRectanglePoint(const gxRectangle *target, const gxPoint *test)
  21504.     GXInlineCode(0x1a9, gxNeedClient|gxNeedHeap|gxNeedStack);
  21505.  
  21506. æKY GXTouchesShape
  21507. æFc Graphics Routines.h
  21508. æT function
  21509. æD
  21510. boolean GXTouchesShape(gxShape target, gxShape test)
  21511.     GXInlineCode(0x1aa, gxNeedClient|gxNeedHeap|gxNeedStack);
  21512.  
  21513. æKY GXTouchesBoundsShape
  21514. æFc Graphics Routines.h
  21515. æT function
  21516. æD
  21517. boolean GXTouchesBoundsShape(const gxRectangle *target, gxShape test)
  21518.     GXInlineCode(0x1ab, gxNeedClient|gxNeedHeap|gxNeedStack);
  21519.  
  21520. æKY GXContainsRectangle
  21521. æFc Graphics Routines.h
  21522. æT function
  21523. æD
  21524. boolean GXContainsRectangle(const gxRectangle *container, const gxRectangle *test)
  21525.     GXInlineCode(0x1ac, gxNeedClient|gxNeedHeap|gxNeedStack);
  21526.  
  21527. æKY GXContainsShape
  21528. æFc Graphics Routines.h
  21529. æT function
  21530. æD
  21531. boolean GXContainsShape(gxShape container, gxShape test)
  21532.     GXInlineCode(0x1ad, gxNeedClient|gxNeedHeap|gxNeedStack);
  21533.  
  21534. æKY GXContainsBoundsShape
  21535. æFc Graphics Routines.h
  21536. æT function
  21537. æD
  21538. boolean GXContainsBoundsShape(const gxRectangle *container, gxShape test, long index)
  21539.     GXInlineCode(0x1ae, gxNeedClient|gxNeedHeap|gxNeedStack);
  21540.  
  21541. æKY GXConvertColor
  21542. æFc Graphics Routines.h
  21543. æT function
  21544. æD
  21545. gxColor *GXConvertColor(gxColor *target, gxColorSpace space, gxColorSet aSet,
  21546.                         gxColorProfile profile)
  21547.     GXInlineCode(0x1af, gxNeedClient|gxNeedHeap|gxNeedStack);
  21548.  
  21549. æKY GXCombineColor
  21550. æFc Graphics Routines.h
  21551. æT function
  21552. æD
  21553. gxColor *GXCombineColor(gxColor *target, gxInk operand)
  21554.     GXInlineCode(0x1b0, gxNeedClient|gxNeedHeap|gxNeedStack);
  21555.  
  21556. æKY GXCheckColor
  21557. æFc Graphics Routines.h
  21558. æT function
  21559. æD
  21560. boolean GXCheckColor(const gxColor *source, gxColorSpace space, gxColorSet aSet,
  21561.                      gxColorProfile profile)
  21562.     GXInlineCode(0x1b1, gxNeedClient|gxNeedHeap|gxNeedStack);
  21563.  
  21564. æKY GXCheckBitmapColor
  21565. æFc Graphics Routines.h
  21566. æT function
  21567. æD
  21568. gxShape GXCheckBitmapColor(gxShape source, const gxLongRectangle *area,
  21569.                            gxColorSpace space, gxColorSet aSet, gxColorProfile profile)
  21570.     GXInlineCode(0x1b2, gxNeedClient|gxNeedHeap|gxNeedStack);
  21571.  
  21572. æKY GXGetHalftoneDeviceAngle
  21573. æFc Graphics Routines.h
  21574. æT function
  21575. æD
  21576. Fixed GXGetHalftoneDeviceAngle(gxViewDevice source, const gxHalftone *data)
  21577.     GXInlineCode(0x1b3, gxNeedClient|gxNeedHeap|gxNeedStack);
  21578.  
  21579. æKY GXGetColorSetParts
  21580. æFc Graphics Routines.h
  21581. æT function
  21582. æD
  21583. long GXGetColorSetParts(gxColorSet source, long index, long count,
  21584.                         gxColorSpace *space, gxSetColor data[])
  21585.     GXInlineCode(0x1b4, gxNeedClient|gxNeedHeap|gxNeedStack);
  21586.  
  21587. æKY GXGetGlyphParts
  21588. æFc Graphics Routines.h
  21589. æT function
  21590. æD
  21591. long GXGetGlyphParts(gxShape source, long index, long charCount, long *byteLength,
  21592.                      unsigned char text[], gxPoint positions[], long advanceBits[],
  21593.                      gxPoint tangents[], long *runCount, short styleRuns[],
  21594.                      gxStyle styles[])
  21595.     GXInlineCode(0x1b5, gxNeedClient|gxNeedHeap|gxNeedStack);
  21596.  
  21597. æC
  21598.  
  21599. Returns the glyph count
  21600.  
  21601. æKY GXGetPathParts
  21602. æFc Graphics Routines.h
  21603. æT function
  21604. æD
  21605. long GXGetPathParts(gxShape source, long index, long count, gxPaths *data)
  21606.     GXInlineCode(0x1b6, gxNeedClient|gxNeedHeap|gxNeedStack);
  21607.  
  21608. æKY GXGetPictureParts
  21609. æFc Graphics Routines.h
  21610. æT function
  21611. æD
  21612. long GXGetPictureParts(gxShape source, long index, long count, gxShape shapes[],
  21613.                        gxStyle styles[], gxInk inks[], gxTransform transforms[])
  21614.     GXInlineCode(0x1b7, gxNeedClient|gxNeedHeap|gxNeedStack);
  21615.  
  21616. æKY GXGetPolygonParts
  21617. æFc Graphics Routines.h
  21618. æT function
  21619. æD
  21620. long GXGetPolygonParts(gxShape source, long index, long count, gxPolygons *data)
  21621.     GXInlineCode(0x1b8, gxNeedClient|gxNeedHeap|gxNeedStack);
  21622.  
  21623. æKY GXGetShapeParts
  21624. æFc Graphics Routines.h
  21625. æT function
  21626. æD
  21627. gxShape GXGetShapeParts(gxShape source, long index, long count, gxShape destination)
  21628.     GXInlineCode(0x1b9, gxNeedClient|gxNeedHeap|gxNeedStack);
  21629.  
  21630. æKY GXGetTextParts
  21631. æFc Graphics Routines.h
  21632. æT function
  21633. æD
  21634. long GXGetTextParts(gxShape source, long index, long charCount, unsigned char text[])
  21635.     GXInlineCode(0x1ba, gxNeedClient|gxNeedHeap|gxNeedStack);
  21636.  
  21637. æKY GXSetColorSetParts
  21638. æFc Graphics Routines.h
  21639. æT function
  21640. æD
  21641. void GXSetColorSetParts(gxColorSet target, long index, long oldCount, long newCount,
  21642.                         const gxSetColor data[])
  21643.     GXInlineCode(0x1bb, gxNeedClient|gxNeedHeap|gxNeedStack);
  21644.  
  21645. æKY GXSetGlyphParts
  21646. æFc Graphics Routines.h
  21647. æT function
  21648. æD
  21649. void GXSetGlyphParts(gxShape source, long index, long oldCharCount, long newCharCount,
  21650.                      const unsigned char text[], const gxPoint positions[],
  21651.                      const long advanceBits[], const gxPoint tangents[],
  21652.                      const short styleRuns[], const gxStyle styles[])
  21653.     GXInlineCode(0x1bc, gxNeedClient|gxNeedHeap|gxNeedStack);
  21654.  
  21655. æKY GXSetPathParts
  21656. æFc Graphics Routines.h
  21657. æT function
  21658. æD
  21659. void GXSetPathParts(gxShape target, long index, long count, const gxPaths *data,
  21660.                     gxEditShapeFlag flags)
  21661.     GXInlineCode(0x1bd, gxNeedClient|gxNeedHeap|gxNeedStack);
  21662.  
  21663. æKY GXSetPictureParts
  21664. æFc Graphics Routines.h
  21665. æT function
  21666. æD
  21667. void GXSetPictureParts(gxShape target, long index, long oldCount, long newCount,
  21668.                        const gxShape shapes[], const gxStyle styles[],
  21669.                        const gxInk inks[], const gxTransform transforms[])
  21670.     GXInlineCode(0x1be, gxNeedClient|gxNeedHeap|gxNeedStack);
  21671.  
  21672. æKY GXSetPolygonParts
  21673. æFc Graphics Routines.h
  21674. æT function
  21675. æD
  21676. void GXSetPolygonParts(gxShape target, long index, long count, const gxPolygons *data,
  21677.                        gxEditShapeFlag flags)
  21678.     GXInlineCode(0x1bf, gxNeedClient|gxNeedHeap|gxNeedStack);
  21679.  
  21680. æKY GXSetShapeParts
  21681. æFc Graphics Routines.h
  21682. æT function
  21683. æD
  21684. void GXSetShapeParts(gxShape target, long index, long count, gxShape insert,
  21685.                      gxEditShapeFlag flags)
  21686.     GXInlineCode(0x1c0, gxNeedClient|gxNeedHeap|gxNeedStack);
  21687.  
  21688. æKY GXSetTextParts
  21689. æFc Graphics Routines.h
  21690. æT function
  21691. æD
  21692. void GXSetTextParts(gxShape target, long index, long oldCharCount, long newCharCount,
  21693.                     const unsigned char text[])
  21694.     GXInlineCode(0x1c1, gxNeedClient|gxNeedHeap|gxNeedStack);
  21695.  
  21696. æKY GXGetShapePoints
  21697. æFc Graphics Routines.h
  21698. æT function
  21699. æD
  21700. long GXGetShapePoints(gxShape source, long index, long count, gxPoint data[])
  21701.     GXInlineCode(0x1c2, gxNeedClient|gxNeedHeap|gxNeedStack);
  21702.  
  21703. æKY GXSetShapePoints
  21704. æFc Graphics Routines.h
  21705. æT function
  21706. æD
  21707. void GXSetShapePoints(gxShape target, long index, long count, const gxPoint data[])
  21708.     GXInlineCode(0x1c3, gxNeedClient|gxNeedHeap|gxNeedStack);
  21709.  
  21710. æKY GXGetGlyphPositions
  21711. æFc Graphics Routines.h
  21712. æT function
  21713. æD
  21714. long GXGetGlyphPositions(gxShape source, long index, long charCount, long advance[],
  21715.                          gxPoint positions[])
  21716.     GXInlineCode(0x1c4, gxNeedClient|gxNeedHeap|gxNeedStack);
  21717.  
  21718. æKY GXGetGlyphTangents
  21719. æFc Graphics Routines.h
  21720. æT function
  21721. æD
  21722. long GXGetGlyphTangents(gxShape source, long index, long charCount,
  21723.                         gxPoint tangents[])
  21724.     GXInlineCode(0x1c5, gxNeedClient|gxNeedHeap|gxNeedStack);
  21725.  
  21726. æKY GXSetGlyphPositions
  21727. æFc Graphics Routines.h
  21728. æT function
  21729. æD
  21730. void GXSetGlyphPositions(gxShape target, long index, long charCount,
  21731.                          const long advance[], const gxPoint positions[])
  21732.     GXInlineCode(0x1c6, gxNeedClient|gxNeedHeap|gxNeedStack);
  21733.  
  21734. æKY GXSetGlyphTangents
  21735. æFc Graphics Routines.h
  21736. æT function
  21737. æD
  21738. void GXSetGlyphTangents(gxShape target, long index, long charCount,
  21739.                         const gxPoint tangents[])
  21740.     GXInlineCode(0x1c7, gxNeedClient|gxNeedHeap|gxNeedStack);
  21741.  
  21742. æKY GXGetGlyphMetrics
  21743. æFc Graphics Routines.h
  21744. æT function
  21745. æD
  21746. long GXGetGlyphMetrics(gxShape source, gxPoint glyphOrigins[],
  21747.                        gxRectangle boundingBoxes[], gxPoint sideBearings[])
  21748.     GXInlineCode(0x1c8, gxNeedClient|gxNeedHeap|gxNeedStack);
  21749.  
  21750. æKY GXDifferenceShape
  21751. æFc Graphics Routines.h
  21752. æT function
  21753. æD
  21754. void GXDifferenceShape(gxShape target, gxShape operand)
  21755.     GXInlineCode(0x1c9, gxNeedClient|gxNeedHeap|gxNeedStack);
  21756.  
  21757. æKY GXExcludeShape
  21758. æFc Graphics Routines.h
  21759. æT function
  21760. æD
  21761. void GXExcludeShape(gxShape target, gxShape operand)
  21762.     GXInlineCode(0x1ca, gxNeedClient|gxNeedHeap|gxNeedStack);
  21763.  
  21764. æKY GXIntersectShape
  21765. æFc Graphics Routines.h
  21766. æT function
  21767. æD
  21768. void GXIntersectShape(gxShape target, gxShape operand)
  21769.     GXInlineCode(0x1cb, gxNeedClient|gxNeedHeap|gxNeedStack);
  21770.  
  21771. æKY GXMapShape
  21772. æFc Graphics Routines.h
  21773. æT function
  21774. æD
  21775. void GXMapShape(gxShape target, const gxMapping *map)
  21776.     GXInlineCode(0x1cc, gxNeedClient|gxNeedHeap|gxNeedStack);
  21777.  
  21778. æKY GXMoveShape
  21779. æFc Graphics Routines.h
  21780. æT function
  21781. æD
  21782. void GXMoveShape(gxShape target, Fixed deltaX, Fixed deltaY)
  21783.     GXInlineCode(0x1cd, gxNeedClient|gxNeedHeap|gxNeedStack);
  21784.  
  21785. æKY GXMoveShapeTo
  21786. æFc Graphics Routines.h
  21787. æT function
  21788. æD
  21789. void GXMoveShapeTo(gxShape target, Fixed x, Fixed y)
  21790.     GXInlineCode(0x1ce, gxNeedClient|gxNeedHeap|gxNeedStack);
  21791.  
  21792. æKY GXReverseDifferenceShape
  21793. æFc Graphics Routines.h
  21794. æT function
  21795. æD
  21796. void GXReverseDifferenceShape(gxShape target, gxShape operand)
  21797.     GXInlineCode(0x1cf, gxNeedClient|gxNeedHeap|gxNeedStack);
  21798.  
  21799. æKY GXRotateShape
  21800. æFc Graphics Routines.h
  21801. æT function
  21802. æD
  21803. void GXRotateShape(gxShape target, Fixed degrees, Fixed xOffset, Fixed yOffset)
  21804.     GXInlineCode(0x1d0, gxNeedClient|gxNeedHeap|gxNeedStack);
  21805.  
  21806. æKY GXScaleShape
  21807. æFc Graphics Routines.h
  21808. æT function
  21809. æD
  21810. void GXScaleShape(gxShape target, Fixed hScale, Fixed vScale, Fixed xOffset,
  21811.                   Fixed yOffset)
  21812.     GXInlineCode(0x1d1, gxNeedClient|gxNeedHeap|gxNeedStack);
  21813.  
  21814. æKY GXSkewShape
  21815. æFc Graphics Routines.h
  21816. æT function
  21817. æD
  21818. void GXSkewShape(gxShape target, Fixed xSkew, Fixed ySkew, Fixed xOffset,
  21819.                  Fixed yOffset)
  21820.     GXInlineCode(0x1d2, gxNeedClient|gxNeedHeap|gxNeedStack);
  21821.  
  21822. æKY GXUnionShape
  21823. æFc Graphics Routines.h
  21824. æT function
  21825. æD
  21826. void GXUnionShape(gxShape target, gxShape operand)
  21827.     GXInlineCode(0x1d3, gxNeedClient|gxNeedHeap|gxNeedStack);
  21828.  
  21829. æKY GXDifferenceTransform
  21830. æFc Graphics Routines.h
  21831. æT function
  21832. æD
  21833. void GXDifferenceTransform(gxTransform target, gxShape operand)
  21834.     GXInlineCode(0x1d4, gxNeedClient|gxNeedHeap|gxNeedStack);
  21835.  
  21836. æKY GXExcludeTransform
  21837. æFc Graphics Routines.h
  21838. æT function
  21839. æD
  21840. void GXExcludeTransform(gxTransform target, gxShape operand)
  21841.     GXInlineCode(0x1d5, gxNeedClient|gxNeedHeap|gxNeedStack);
  21842.  
  21843. æKY GXIntersectTransform
  21844. æFc Graphics Routines.h
  21845. æT function
  21846. æD
  21847. void GXIntersectTransform(gxTransform target, gxShape operand)
  21848.     GXInlineCode(0x1d6, gxNeedClient|gxNeedHeap|gxNeedStack);
  21849.  
  21850. æKY GXMapTransform
  21851. æFc Graphics Routines.h
  21852. æT function
  21853. æD
  21854. void GXMapTransform(gxTransform target, const gxMapping *map)
  21855.     GXInlineCode(0x1d7, gxNeedClient|gxNeedHeap|gxNeedStack);
  21856.  
  21857. æKY GXMoveTransform
  21858. æFc Graphics Routines.h
  21859. æT function
  21860. æD
  21861. void GXMoveTransform(gxTransform target, Fixed deltaX, Fixed deltaY)
  21862.     GXInlineCode(0x1d8, gxNeedClient|gxNeedHeap|gxNeedStack);
  21863.  
  21864. æKY GXMoveTransformTo
  21865. æFc Graphics Routines.h
  21866. æT function
  21867. æD
  21868. void GXMoveTransformTo(gxTransform target, Fixed x, Fixed y)
  21869.     GXInlineCode(0x1d9, gxNeedClient|gxNeedHeap|gxNeedStack);
  21870.  
  21871. æKY GXReverseDifferenceTransform
  21872. æFc Graphics Routines.h
  21873. æT function
  21874. æD
  21875. void GXReverseDifferenceTransform(gxTransform target, gxShape operand)
  21876.     GXInlineCode(0x1da, gxNeedClient|gxNeedHeap|gxNeedStack);
  21877.  
  21878. æKY GXRotateTransform
  21879. æFc Graphics Routines.h
  21880. æT function
  21881. æD
  21882. void GXRotateTransform(gxTransform target, Fixed degrees, Fixed xOffset,
  21883.                        Fixed yOffset)
  21884.     GXInlineCode(0x1db, gxNeedClient|gxNeedHeap|gxNeedStack);
  21885.  
  21886. æKY GXScaleTransform
  21887. æFc Graphics Routines.h
  21888. æT function
  21889. æD
  21890. void GXScaleTransform(gxTransform target, Fixed hScale, Fixed vScale, Fixed xOffset,
  21891.                       Fixed yOffset)
  21892.     GXInlineCode(0x1dc, gxNeedClient|gxNeedHeap|gxNeedStack);
  21893.  
  21894. æKY GXSkewTransform
  21895. æFc Graphics Routines.h
  21896. æT function
  21897. æD
  21898. void GXSkewTransform(gxTransform target, Fixed xSkew, Fixed ySkew, Fixed xOffset,
  21899.                      Fixed yOffset)
  21900.     GXInlineCode(0x1dd, gxNeedClient|gxNeedHeap|gxNeedStack);
  21901.  
  21902. æKY GXUnionTransform
  21903. æFc Graphics Routines.h
  21904. æT function
  21905. æD
  21906. void GXUnionTransform(gxTransform target, gxShape operand)
  21907.     GXInlineCode(0x1de, gxNeedClient|gxNeedHeap|gxNeedStack);
  21908.  
  21909. æKY GXBreakShape
  21910. æFc Graphics Routines.h
  21911. æT function
  21912. æD
  21913. void GXBreakShape(gxShape target, long index)
  21914.     GXInlineCode(0x1df, gxNeedClient|gxNeedHeap|gxNeedStack);
  21915.  
  21916. æKY GXChangedShape
  21917. æFc Graphics Routines.h
  21918. æT function
  21919. æD
  21920. void GXChangedShape(gxShape target)
  21921.     GXInlineCode(0x1e0, gxNeedClient|gxNeedHeap|gxNeedStack);
  21922.  
  21923. æKY GXHitTestShape
  21924. æFc Graphics Routines.h
  21925. æT function
  21926. æD
  21927. gxShapePart GXHitTestShape(gxShape target, const gxPoint *test, gxHitTestInfo *result)
  21928.     GXInlineCode(0x1e1, gxNeedClient|gxNeedHeap|gxNeedStack);
  21929.  
  21930. æKY GXHitTestDevice
  21931. æFc Graphics Routines.h
  21932. æT function
  21933. æD
  21934. gxShape GXHitTestDevice(gxShape target, gxViewPort port, gxViewDevice device,
  21935.                         const gxPoint *test, const gxPoint *tolerance)
  21936.     GXInlineCode(0x1e2, gxNeedClient|gxNeedHeap|gxNeedStack);
  21937.  
  21938. æKY GXInsetShape
  21939. æFc Graphics Routines.h
  21940. æT function
  21941. æD
  21942. void GXInsetShape(gxShape target, Fixed inset)
  21943.     GXInlineCode(0x1e3, gxNeedClient|gxNeedHeap|gxNeedStack);
  21944.  
  21945. æKY GXInvertShape
  21946. æFc Graphics Routines.h
  21947. æT function
  21948. æD
  21949. void GXInvertShape(gxShape target)
  21950.     GXInlineCode(0x1e4, gxNeedClient|gxNeedHeap|gxNeedStack);
  21951.  
  21952. æKY GXPrimitiveShape
  21953. æFc Graphics Routines.h
  21954. æT function
  21955. æD
  21956. void GXPrimitiveShape(gxShape target)
  21957.     GXInlineCode(0x1e5, gxNeedClient|gxNeedHeap|gxNeedStack);
  21958.  
  21959. æKY GXReduceShape
  21960. æFc Graphics Routines.h
  21961. æT function
  21962. æD
  21963. void GXReduceShape(gxShape target, long contour)
  21964.     GXInlineCode(0x1e6, gxNeedClient|gxNeedHeap|gxNeedStack);
  21965.  
  21966. æKY GXReverseShape
  21967. æFc Graphics Routines.h
  21968. æT function
  21969. æD
  21970. void GXReverseShape(gxShape target, long contour)
  21971.     GXInlineCode(0x1e7, gxNeedClient|gxNeedHeap|gxNeedStack);
  21972.  
  21973. æKY GXSimplifyShape
  21974. æFc Graphics Routines.h
  21975. æT function
  21976. æD
  21977. void GXSimplifyShape(gxShape target)
  21978.     GXInlineCode(0x1e8, gxNeedClient|gxNeedHeap|gxNeedStack);
  21979.  
  21980. æKY GXLockColorProfile
  21981. æFc Graphics Routines.h
  21982. æT function
  21983. æD
  21984. void GXLockColorProfile(gxColorProfile source)
  21985.     GXInlineCode(0x1e9, gxNeedClient|gxNeedHeap|gxNeedStack);
  21986.  
  21987. æKY GXUnlockColorProfile
  21988. æFc Graphics Routines.h
  21989. æT function
  21990. æD
  21991. void GXUnlockColorProfile(gxColorProfile source)
  21992.     GXInlineCode(0x1ea, gxNeedClient|gxNeedHeap|gxNeedStack);
  21993.  
  21994. æKY GXGetColorProfileStructure
  21995. æFc Graphics Routines.h
  21996. æT function
  21997. æD
  21998. void *GXGetColorProfileStructure(gxColorProfile source, long *length)
  21999.     GXInlineCode(0x1eb, gxNeedClient|gxNeedHeap|gxNeedStack);
  22000.  
  22001. æKY GXFlattenShape
  22002. æFc Graphics Routines.h
  22003. æT function
  22004. æD
  22005. void GXFlattenShape(gxShape source, gxFlattenFlag flags, struct gxSpoolBlock *block)
  22006.     GXInlineCode(0x1ec, gxNeedClient|gxNeedHeap|gxNeedStack);
  22007.  
  22008. æKY GXUnflattenShape
  22009. æFc Graphics Routines.h
  22010. æT function
  22011. æD
  22012. gxShape GXUnflattenShape(struct gxSpoolBlock *block, long count,
  22013.                          const gxViewPort portList[])
  22014.     GXInlineCode(0x1ed, gxNeedClient|gxNeedHeap|gxNeedStack);
  22015.